Call callback
parent
7a590a259a
commit
5a03589ef4
|
@ -156,6 +156,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import EventBus from '@/app/AppEventBus';
|
||||||
import { NoirPreset } from '@/themes/app-theme.js';
|
import { NoirPreset } from '@/themes/app-theme.js';
|
||||||
import { $dt, $t, updatePreset, usePreset } from '@primevue/themes';
|
import { $dt, $t, updatePreset, usePreset } from '@primevue/themes';
|
||||||
import Aura from '@primevue/themes/aura';
|
import Aura from '@primevue/themes/aura';
|
||||||
|
@ -371,6 +372,7 @@ export default {
|
||||||
apply() {
|
apply() {
|
||||||
this.saveTheme();
|
this.saveTheme();
|
||||||
updatePreset(this.preset);
|
updatePreset(this.preset);
|
||||||
|
EventBus.emit('theme-palette-change');
|
||||||
},
|
},
|
||||||
download() {
|
download() {
|
||||||
const basePreset = this.$appState.preset;
|
const basePreset = this.$appState.preset;
|
||||||
|
|
Loading…
Reference in New Issue