caee9535f1
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
15 lines
280 B
JavaScript
15 lines
280 B
JavaScript
import { mapGetters } from 'vuex';
|
|
|
|
export default {
|
|
computed: {
|
|
...mapGetters({ darkMode: 'appConfig/darkMode' }),
|
|
},
|
|
methods: {
|
|
$dm(light, dark) {
|
|
if (this.darkMode === 'light') {
|
|
return light;
|
|
}
|
|
return light + ' ' + dark;
|
|
},
|
|
},
|
|
};
|