fix: Get rid of PrefixMixin

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/44092/head
Ferdinand Thiessen 2 years ago
parent e678b77031
commit 289e43a548
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
  1. 4
      apps/settings/src/components/AppList.vue
  2. 32
      apps/settings/src/components/PrefixMixin.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

@ -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>
Loading…
Cancel
Save