Skip to content

Commit

Permalink
fix(ui): hide dsk codes when streamer mode is enabled
Browse files Browse the repository at this point in the history
Fixes #3921
  • Loading branch information
robertsLando committed Oct 2, 2024
1 parent 8afec36 commit c0785b7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/views/SmartStart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
</v-btn>
</template>

<template v-slot:[`item.dsk`]="{ item }">
<span v-if="streamerMode">*********</span>
<span v-else> {{ item.dsk }} </span>
</template>

<template v-slot:[`item.status`]="{ item }">
<v-switch
v-model="item.status"
Expand Down Expand Up @@ -347,6 +352,11 @@ export default {
deep: true,
},
},
computed: {
streamerMode() {
return useBaseStore().ui.streamerMode
},
},
data() {
return {
items: [],
Expand Down

0 comments on commit c0785b7

Please sign in to comment.