layoutService label changes. AppLayout fixes
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useThemeService } from '@/composables/theme';
|
||||
import { useLayoutService } from '@/composables/layoutService';
|
||||
|
||||
const { appConfig } = useThemeService();
|
||||
const { layoutConfig } = useLayoutService();
|
||||
|
||||
const logoUrl = () => {
|
||||
return new URL(`/src/assets/layout/images/${appConfig.darkTheme.value ? 'logo-white' : 'logo-dark'}.svg`, import.meta.url).href;
|
||||
return new URL(`/src/assets/layout/images/${layoutConfig.darkTheme.value ? 'logo-white' : 'logo-dark'}.svg`, import.meta.url).href;
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user