forked from AkkomaGang/admin-fe
Add settings for notifications streamer
This commit is contained in:
parent
08ed663015
commit
19e2b29612
1 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,9 @@
|
||||||
<el-form ref="feed" :model="feedData" :label-width="labelWidth">
|
<el-form ref="feed" :model="feedData" :label-width="labelWidth">
|
||||||
<setting :setting-group="feed" :data="feedData"/>
|
<setting :setting-group="feed" :data="feedData"/>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
<el-form ref="streamer" :model="streamerData" :label-width="labelWidth">
|
||||||
|
<setting :setting-group="streamer" :data="streamerData"/>
|
||||||
|
</el-form>
|
||||||
<div class="submit-button-container">
|
<div class="submit-button-container">
|
||||||
<el-button class="submit-button" type="primary" @click="onSubmit">Submit</el-button>
|
<el-button class="submit-button" type="primary" @click="onSubmit">Submit</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -112,6 +115,12 @@ export default {
|
||||||
scheduledActivityData() {
|
scheduledActivityData() {
|
||||||
return _.get(this.settings.settings, [':pleroma', 'Pleroma.ScheduledActivity']) || {}
|
return _.get(this.settings.settings, [':pleroma', 'Pleroma.ScheduledActivity']) || {}
|
||||||
},
|
},
|
||||||
|
streamer() {
|
||||||
|
return this.$store.state.settings.description.find(setting => setting.key === ':streamer')
|
||||||
|
},
|
||||||
|
streamerData() {
|
||||||
|
return _.get(this.settings.settings, [':pleroma', ':streamer']) || {}
|
||||||
|
},
|
||||||
uriSchemes() {
|
uriSchemes() {
|
||||||
return this.settings.description.find(setting => setting.key === ':uri_schemes')
|
return this.settings.description.find(setting => setting.key === ':uri_schemes')
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue