pull/358/head
cagataycivici 2020-07-03 15:44:10 +03:00
parent c87e4c2923
commit 1d8d4e9532
9 changed files with 10 additions and 10 deletions

View File

@ -115,10 +115,10 @@ export default {
rows(newValue) { rows(newValue) {
this.d_rows = newValue; this.d_rows = newValue;
}, },
sortField(newValue) { sortField() {
this.resetPage(); this.resetPage();
}, },
sortOrder(newValue) { sortOrder() {
this.resetPage(); this.resetPage();
} }
}, },

View File

@ -39,7 +39,7 @@ import EventBus from '@/EventBus';
export default { export default {
mounted() { mounted() {
EventBus.$on('change-theme', event => { EventBus.$on('change-theme', () => {
if (event.dark) if (event.dark)
this.applyDarkTheme(); this.applyDarkTheme();
else else

View File

@ -23,7 +23,7 @@ import EventBus from '@/EventBus';
export default { export default {
mounted() { mounted() {
EventBus.$on('change-theme', event => { EventBus.$on('change-theme', () => {
if (event.dark) if (event.dark)
this.applyDarkTheme(); this.applyDarkTheme();
else else

View File

@ -23,7 +23,7 @@ import EventBus from '@/EventBus';
export default { export default {
mounted() { mounted() {
EventBus.$on('change-theme', event => { EventBus.$on('change-theme', () => {
if (event.dark) if (event.dark)
this.chartOptions = this.getDarkTheme(); this.chartOptions = this.getDarkTheme();
else else

View File

@ -34,7 +34,7 @@ import EventBus from '@/EventBus';
export default { export default {
mounted() { mounted() {
EventBus.$on('change-theme', event => { EventBus.$on('change-theme', () => {
if (event.dark) if (event.dark)
this.applyDarkTheme(); this.applyDarkTheme();
else else

View File

@ -23,7 +23,7 @@ import EventBus from '@/EventBus';
export default { export default {
mounted() { mounted() {
EventBus.$on('change-theme', event => { EventBus.$on('change-theme', () => {
if (event.dark) if (event.dark)
this.chartOptions = this.getDarkTheme(); this.chartOptions = this.getDarkTheme();
else else

View File

@ -23,7 +23,7 @@ import EventBus from '@/EventBus';
export default { export default {
mounted() { mounted() {
EventBus.$on('change-theme', event => { EventBus.$on('change-theme', () => {
if (event.dark) if (event.dark)
this.chartOptions = this.getDarkTheme(); this.chartOptions = this.getDarkTheme();
else else

View File

@ -23,7 +23,7 @@ import EventBus from '@/EventBus';
export default { export default {
mounted() { mounted() {
EventBus.$on('change-theme', event => { EventBus.$on('change-theme', () => {
if (event.dark) if (event.dark)
this.chartOptions = this.getDarkTheme(); this.chartOptions = this.getDarkTheme();
else else

View File

@ -129,7 +129,7 @@ export default {
}, },
timeout: null, timeout: null,
mounted() { mounted() {
EventBus.$on('change-theme', event => { EventBus.$on('change-theme', () => {
this.timeout = setTimeout(() => { this.timeout = setTimeout(() => {
this.$refs.tabview1.updateInkBar(); this.$refs.tabview1.updateInkBar();
this.$refs.tabview2.updateInkBar(); this.$refs.tabview2.updateInkBar();