diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-02-22 16:43:25 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-11 16:02:34 +0100 |
commit | 289e43a54858878b0f2b7e5dd0536787351fe52a (patch) | |
tree | b69af0510d437aa45649ba2e984707abe4231ab3 | |
parent | e678b77031db91ba8e20aca07736dc0550cbf42e (diff) | |
download | nextcloud-server-289e43a54858878b0f2b7e5dd0536787351fe52a.tar.gz nextcloud-server-289e43a54858878b0f2b7e5dd0536787351fe52a.zip |
fix: Get rid of PrefixMixin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | apps/settings/src/components/AppList.vue | 4 | ||||
-rw-r--r-- | apps/settings/src/components/PrefixMixin.vue | 32 |
2 files changed, 1 insertions, 35 deletions
diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index ca32b9f0495..324fa6b0537 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -140,7 +140,6 @@ <script> import AppItem from './AppList/AppItem.vue' -import PrefixMixin from './PrefixMixin.vue' import pLimit from 'p-limit' import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' @@ -150,8 +149,7 @@ export default { AppItem, NcButton, }, - mixins: [PrefixMixin], - props: ['category', 'app', 'search'], + props: ['category'], computed: { counter() { return this.apps.filter(app => app.update).length diff --git a/apps/settings/src/components/PrefixMixin.vue b/apps/settings/src/components/PrefixMixin.vue deleted file mode 100644 index cd37416b27f..00000000000 --- a/apps/settings/src/components/PrefixMixin.vue +++ /dev/null @@ -1,32 +0,0 @@ -<!-- - - @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net> - - - - @author Julius Härtl <jus@bitgrid.net> - - - - @license GNU AGPL version 3 or any later version - - - - This program is free software: you can redistribute it and/or modify - - it under the terms of the GNU Affero General Public License as - - published by the Free Software Foundation, either version 3 of the - - License, or (at your option) any later version. - - - - This program is distributed in the hope that it will be useful, - - but WITHOUT ANY WARRANTY; without even the implied warranty of - - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - - GNU Affero General Public License for more details. - - - - You should have received a copy of the GNU Affero General Public License - - along with this program. If not, see <http://www.gnu.org/licenses/>. - - - --> - -<script> -export default { - name: 'PrefixMixin', - methods: { - prefix(prefix, content) { - return prefix + '_' + content - }, - }, -} -</script> |