Skip to content

Commit

Permalink
Use Unlocked icons to unban IP
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Aug 22, 2023
1 parent e7a0a22 commit 0bdd2c0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ui/src/views/Unban.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
</template>
<template v-if="bans.length">
<NsButton
kind="danger"
kind="secondary"
class="mg-left"
:icon="TrashCan20"
:icon="Unlocked20"
@click="toggleUnbanAll"
:disabled="loading.listBans || loading.setDeleteBan"
>{{ $t("unban.delete_all") }}
Expand Down Expand Up @@ -127,7 +127,7 @@
:data-test-id="row.value + '-delete-ban'"
>
<NsMenuItem
:icon="TrashCan20"
:icon="Unlocked20"
:label="$t('unban.delete')"
/>
</cv-overflow-menu-item>
Expand Down Expand Up @@ -168,6 +168,7 @@ import {
import to from "await-to-js";
import ConfirmReleaseIP from "@/components/ConfirmReleaseIP";
import ConfirmReleaseIPAll from "@/components/ConfirmReleaseIPAll";
import Unlocked20 from "@carbon/icons-vue/es/unlocked/20";
export default {
name: "UnbanIP",
components: {
Expand All @@ -189,6 +190,7 @@ export default {
q: {
page: "unBan",
},
Unlocked20,
urlCheckInterval: null,
tablePage: [],
tableColumns: ["created_at", "value", "duration", "scenario"],
Expand Down

0 comments on commit 0bdd2c0

Please sign in to comment.