Skip to content

Commit 6d7f834

Browse files
authored
Merge pull request #16273 from rak-phillip/task/16236-settings
Suppress missing template warning
2 parents 7c92863 + 8b76d06 commit 6d7f834

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

shell/pages/c/_cluster/settings/index.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
<script>
2+
import { h } from 'vue';
23
import { NAME as SETTINGS } from '@shell/config/product/settings';
34
import { MANAGEMENT } from '@shell/config/types';
45
56
export default {
7+
render() {
8+
// Suppress warning: Component is missing template or render function
9+
return h('div');
10+
},
611
beforeCreate() {
712
const hasSettings = !!this.$store.getters[`management/schemaFor`](MANAGEMENT.SETTING);
813

0 commit comments

Comments
 (0)