Skip to content

Commit 3140da4

Browse files
authored
Merge pull request #132 from Gertiozuni/nova-tabs-support
add nova-tabs support
2 parents 76fb256 + 374133b commit 3140da4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

resources/js/views/Settings.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
<form v-if="fields && fields.length" @submit.prevent="update" autocomplete="off" dusk="nova-settings-form">
66
<template v-for="panel in panelsWithFields" :key="panel.name">
7-
<form-panel
7+
<component
8+
:is="`form-` + panel.component"
89
:panel="panel"
910
:name="panel.name"
1011
:fields="panel.fields"
@@ -122,7 +123,8 @@ export default {
122123
name: panel.name,
123124
component: panel.component,
124125
helpText: panel.helpText,
125-
fields: this.fields.filter(field => field.panel == panel.name),
126+
fields: this.fields.filter(field => field.panel === panel.name),
127+
showTitle: panel.showTitle,
126128
};
127129
});
128130
},

0 commit comments

Comments
 (0)