Skip to content

Commit

Permalink
Core: frontend: hide container permission if not running pirate mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Nov 14, 2022
1 parent b685fb0 commit 9da3df1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/frontend/src/views/ExtensionManagerView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@
<v-card-text>
{{ getStatus(extension) }}
</v-card-text>
<v-expansion-panels flat>
<v-expansion-panels
v-if="settings.is_pirate_mode"
flat
>
<v-expansion-panel>
<v-expansion-panel-header>
Permissions
Expand Down Expand Up @@ -145,6 +148,7 @@ import ExtensionCard from '@/components/kraken/ExtensionCard.vue'
import ExtensionModal from '@/components/kraken/ExtensionModal.vue'
import PullProgress from '@/components/utils/PullProgress.vue'
import Notifier from '@/libs/notifier'
import settings from '@/libs/settings'
import { kraken_service } from '@/types/frontend_services'
import back_axios from '@/utils/api'
import PullTracker from '@/utils/pull_tracker'
Expand Down Expand Up @@ -178,6 +182,7 @@ export default Vue.extend({
status_text: '',
log_output: null as null | string,
show_log: false,
settings,
}
},
mounted() {
Expand Down

0 comments on commit 9da3df1

Please sign in to comment.