Skip to content

Commit

Permalink
feat: allow setup button unless validating token
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebrynes7 committed Dec 15, 2024
1 parent 2418bf4 commit 68840ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ default Obsidian theme.

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

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

Expand Down
2 changes: 1 addition & 1 deletion plugin/src/ui/settings/TokenChecker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const TokenChecker: React.FC<Props> = ({ tester }) => {
label={buttonLabel}
icon="settings"
onClick={openModal}
disabled={tokenState.kind !== "error"}
disabled={tokenState.kind === "in-progress"}
/>
</>
);
Expand Down

0 comments on commit 68840ac

Please sign in to comment.