fix dashboard widget

This commit is contained in:
Jonas Heinrich 2020-12-02 13:24:55 +01:00
parent 1164f14d40
commit 0973599821
4 changed files with 5 additions and 13 deletions

View File

@ -12,6 +12,8 @@
[#190](https://git.project-insanity.org/onny/nextcloud-app-radio/-/issues/190) @onny [#190](https://git.project-insanity.org/onny/nextcloud-app-radio/-/issues/190) @onny
- Publish releases to app store using make - Publish releases to app store using make
[#218](https://git.project-insanity.org/onny/nextcloud-app-radio/-/issues/218) @onny [#218](https://git.project-insanity.org/onny/nextcloud-app-radio/-/issues/218) @onny
- Add code signing to the release
[#217](https://git.project-insanity.org/onny/nextcloud-app-radio/-/issues/217) @onny
### Fixed ### Fixed
- Add AGPL headers - Add AGPL headers

View File

View File

@ -22,8 +22,6 @@
<template> <template>
<DashboardWidget :items="items" <DashboardWidget :items="items"
:show-more-url="showMoreUrl"
:show-more-text="title"
:loading="state === 'loading'"> :loading="state === 'loading'">
<template #empty-content> <template #empty-content>
<EmptyContent <EmptyContent
@ -54,14 +52,6 @@ export default {
EmptyContent, EmptyContent,
}, },
props: {
title: {
type: String,
required: false,
default: 'radio',
},
},
data() { data() {
return { return {
notifications: [], notifications: [],

View File

@ -439,9 +439,9 @@ export default {
}, },
loadSettings() { loadSettings() {
axios.defaults.headers.common = { // axios.defaults.headers.common = {
'User-Agent': 'Nextcloud Radio App/' + this.$version, // 'User-Agent': 'Nextcloud Radio App/' + this.$version,
} // }
this.$store.dispatch('getVolumeState') this.$store.dispatch('getVolumeState')
}, },