keep going fixing vuetify
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
|
||||
div
|
||||
//- el-divider {{$t('common.resources')}}
|
||||
v-table(:data='paginatedResources' small :row-style='resourceStyle')
|
||||
v-data-table(:data='resources')
|
||||
//- el-table-column(:label="$t('common.event')")
|
||||
//- template(slot-scope='data')
|
||||
//- span {{data.row.event}}
|
||||
@@ -64,7 +64,6 @@
|
||||
</template>
|
||||
<script>
|
||||
import { mapState, mapActions } from 'vuex'
|
||||
import { MessageBox } from 'element-ui'
|
||||
|
||||
export default {
|
||||
name: 'Moderation',
|
||||
|
||||
@@ -45,9 +45,14 @@ export default {
|
||||
primary_color: {
|
||||
get () { return this.settings['theme.primary'] },
|
||||
set (value) {
|
||||
// this.$vuetify.theme.themes.dark.primary = value.hex
|
||||
this.$vuetify.theme.themes.light.primary = value.hex
|
||||
this.setSetting({ key: 'theme.primary', value: value.hex })
|
||||
if (!value) { return }
|
||||
if (this.settings['theme.is_dark']) {
|
||||
this.$vuetify.theme.themes.dark.primary = value
|
||||
} else {
|
||||
this.$vuetify.theme.themes.light.primary = value
|
||||
}
|
||||
// this.$vuetify.theme.themes.light.primary = value.hex
|
||||
// this.setSetting({ key: 'theme.primary', value: value.hex })
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user