Skip to content

Commit

Permalink
fix: disable the jobs menu on disconnect instead of hide
Browse files Browse the repository at this point in the history
  • Loading branch information
cadriel committed Jan 16, 2021
1 parent 8325c86 commit c8f5b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<v-icon small class="mr-md-1">$home</v-icon>
<span>Dashboard</span>
</v-btn>
<v-btn text to="/jobs" class="d-none d-md-flex mx-1" v-if="klippyConnected">
<v-btn text to="/jobs" class="d-none d-md-flex mx-1" :disabled="!klippyConnected">
<v-icon small class="mr-md-1">$files</v-icon>
<span>Jobs</span>
</v-btn>
Expand Down

0 comments on commit c8f5b56

Please sign in to comment.