Skip to content

Commit

Permalink
perf(UI): hide "insert row" button in read-only mode, closes #695
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Apr 14, 2024
1 parent 33203ae commit 6600197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<BaseIcon icon-name="mdiMagnify" :size="24" />
</button>
<button
v-if="isTable"
v-if="isTable && !connection.readonly"
class="btn btn-dark btn-sm"
:disabled="isQuering"
@click="showFakerModal()"
Expand Down

0 comments on commit 6600197

Please sign in to comment.