refs #2429 Disable filter settings in misskey
This commit is contained in:
parent
908dd99d3d
commit
03637cf521
|
@ -2,7 +2,7 @@
|
||||||
<div id="filters">
|
<div id="filters">
|
||||||
<h2>{{ $t('settings.filters.title') }}</h2>
|
<h2>{{ $t('settings.filters.title') }}</h2>
|
||||||
<div class="new-filter">
|
<div class="new-filter">
|
||||||
<el-button type="primary">
|
<el-button type="primary" :disabled="sns === 'misskey'">
|
||||||
<router-link tag="span" :to="`/${id()}/settings/filters/new`">
|
<router-link tag="span" :to="`/${id()}/settings/filters/new`">
|
||||||
{{ $t('settings.filters.new.title') }}
|
{{ $t('settings.filters.new.title') }}
|
||||||
</router-link>
|
</router-link>
|
||||||
|
@ -57,6 +57,9 @@ export default {
|
||||||
}),
|
}),
|
||||||
...mapState({
|
...mapState({
|
||||||
backgroundColor: state => state.App.theme.background_color
|
backgroundColor: state => state.App.theme.background_color
|
||||||
|
}),
|
||||||
|
...mapState('TimelineSpace', {
|
||||||
|
sns: state => state.sns
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
|
|
Loading…
Reference in New Issue