Skip to content

Commit

Permalink
fix language switching and logo upload
Browse files Browse the repository at this point in the history
  • Loading branch information
madisvain committed Aug 14, 2024
1 parent 5c1a193 commit 13bdfbd
Show file tree
Hide file tree
Showing 8 changed files with 156 additions and 146 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "Upcount",
"version": "2.0.0-alpha.2"
"version": "2.0.0-alpha.3"
},
"tauri": {
"allowlist": {
Expand Down
4 changes: 3 additions & 1 deletion src/atoms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ export const organizationAtom = atom(
).join(", ")})`,
values(newValues)
);
set(organizationIdAtom, newValues.id);
set(setOrganizationsAtom);
set(organizationIdAtom, newValues.id);
if (response["rowsAffected"] == 1) {
message.success(t`Organization created`);
} else {
Expand All @@ -341,6 +341,8 @@ export const organizationAtom = atom(
} else {
message.error(t`Organization updated failed`);
}
set(setOrganizationsAtom);
set(organizationIdAtom, organizationId);
}
}
);
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export default function BaseLayout() {
block
icon={<PlusOutlined />}
onClick={() => {}}
style={{ textAlign: "left", paddingLeft: 11, paddingRight: 11 }}
style={{ textAlign: "left" }}
>
<Trans>New organization</Trans>
</Button>
Expand Down
Loading

0 comments on commit 13bdfbd

Please sign in to comment.