Skip to content

Commit

Permalink
fix(interface): 🐛 fix refresh database button sometimes not appearing
Browse files Browse the repository at this point in the history
refresh button should be a sibling of database select, rather than a dependent
  • Loading branch information
JamesNZL committed Jul 17, 2022
1 parent d07ecbb commit 21b694b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/options/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ export const CONFIGURATION: {
return this.input = Input.getInstance<InputElementId>('database-id', 'input', RequiredNotionDatabaseIdField);
},
dependents: [
'refresh-database-select',
'notion-property-name',
'notion-property-category',
'notion-property-course',
Expand Down
1 change: 1 addition & 0 deletions src/options/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ const DatabaseSelect = <const>{

show() {
this.element.show();
this.refreshButton.show();
},

async populate(placeholder = 'Loading') {
Expand Down

0 comments on commit 21b694b

Please sign in to comment.