generated from Seekra/repository-template
Feat(settings): add renderer for settings configuration #142
@@ -44,7 +44,7 @@ watchEffect(() => {
|
|||||||
const updateSettings = function updateSettings () {
|
const updateSettings = function updateSettings () {
|
||||||
if (activeSection.value) {
|
if (activeSection.value) {
|
||||||
const setting = getSettingRecursively(activeSection.value, settings.value);
|
const setting = getSettingRecursively(activeSection.value, settings.value);
|
||||||
if (!setting.content) {
|
if (!setting) {
|
||||||
router.push('/settings');
|
router.push('/settings');
|
||||||
} else {
|
} else {
|
||||||
activeSectionContent.value = setting;
|
activeSectionContent.value = setting;
|
||||||
|
|||||||
Reference in New Issue
Block a user