Skip to content

Commit 68840ac

Browse files
committed
feat: allow setup button unless validating token
1 parent 2418bf4 commit 68840ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ default Obsidian theme.
4343

4444
- Tweaked the onboarding modal to hopefully be more reliable in validating the token and allowing you to save the token.
4545
- Greatly reduced plugin startup time. This should improve your vault's load time.
46+
- The setup button in the settings is no longer disabled except when the plugin is validating the token.
4647

4748
## v1.13.0 (2024-04-10)
4849

plugin/src/ui/settings/TokenChecker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const TokenChecker: React.FC<Props> = ({ tester }) => {
5353
label={buttonLabel}
5454
icon="settings"
5555
onClick={openModal}
56-
disabled={tokenState.kind !== "error"}
56+
disabled={tokenState.kind === "in-progress"}
5757
/>
5858
</>
5959
);

0 commit comments

Comments
 (0)