Skip to content

Commit

Permalink
fix(ui): filter system namespace overview tab for system data (#4928)
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Sep 19, 2024
1 parent 7373514 commit ad3ac7b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ui/src/components/home/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
@update:filter-value="updateQuery"
/>
</el-form-item>
<el-form-item>
<scope-filter-buttons
:label="$t('data')"
:value="scope"
:system="namespace === 'system'"
@update:model-value="onScopeSelect"
/>
</el-form-item>
<el-form-item>
<refresh-button class="float-right" @refresh="load" :can-auto-refresh="canAutoRefresh" />
</el-form-item>
Expand Down Expand Up @@ -236,7 +244,8 @@
namespaceRestricted: !!this.namespace,
refreshDates: false,
canAutoRefresh: false,
state: []
state: [],
scope: []
};
},
methods: {
Expand Down

0 comments on commit ad3ac7b

Please sign in to comment.