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