Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
  • Loading branch information
marcoambrosini committed Dec 5, 2023
1 parent fa11306 commit 2f8a711
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 4 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-->

<template>
<NcSettingsSection :title="t('bruteforcesettings', 'Brute-force IP whitelist')"
doc-url="https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/bruteforce_configuration.html">
Expand Down Expand Up @@ -73,12 +74,13 @@ import axios from '@nextcloud/axios'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import Plus from 'vue-material-design-icons/Plus'
import Plus from 'vue-material-design-icons/Plus.vue'

import BruteForceItem from './components/BruteForceItem'
import BruteForceItem from './components/BruteForceItem.vue'

export default {
name: 'App',

components: {
BruteForceItem,
NcButton,
Expand Down
7 changes: 3 additions & 4 deletions src/components/BruteForceItem.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<!--
- @copyright Copyright (c) 2018 Roeland Jago Douma <roeland@famdouma.nl>
-
Expand All @@ -24,7 +23,7 @@
<tr>
<td><span>{{ ip }}/{{ mask }}</span></td>
<td class="action-column">
<NcButton :title="t('bruteforcesettings', 'Delete entry for {subnet}', { subnet: this.ip + '/' + this.mask })"
<NcButton :title="t('bruteforcesettings', 'Delete entry for {subnet}', { subnet: ip + '/' + mask })"
type="tertiary"
@click="$emit('delete', id)">
<template #icon>
Expand All @@ -36,8 +35,8 @@
</template>

<script>
import Delete from 'vue-material-design-icons/Delete'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import Delete from 'vue-material-design-icons/Delete.vue'
import { NcButton } from '@nextcloud/vue'

export default {
name: 'BruteForceItem',
Expand Down

0 comments on commit 2f8a711

Please sign in to comment.