From 07a57129eb4316bf880729fa2397ca2a5ac970b4 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 20 Nov 2023 12:36:33 +0300 Subject: [PATCH] Update AppConfigurator.vue --- layouts/AppConfigurator.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/AppConfigurator.vue b/layouts/AppConfigurator.vue index 9ac6e3d1d..4ec1bfcdb 100755 --- a/layouts/AppConfigurator.vue +++ b/layouts/AppConfigurator.vue @@ -376,9 +376,9 @@ export default { this.changeTheme(tokens[0].substring(0, 2), tokens[2]); } }, - isThemeActive(theme, color) { + isThemeActive(themeFamily, color) { let themeName; - let themePrefix = this.compactMaterial ? 'mdc' : theme; + let themePrefix = themeFamily === 'md' && this.compactMaterial ? 'mdc' : themeFamily; if (this.lightOnlyThemes.includes(themePrefix)) { themeName = themePrefix;