Skip to content

Commit 4bf9d28

Browse files
committed
Remove unneeded thing
1 parent 6360698 commit 4bf9d28

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

adminui2/src/pages/Diagnostics/Acls.vue

+17-19
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useToast } from 'vue-toastification'
44
55
import { useToastError } from '@/composables/useToastError'
66
7-
import { checkFirewallRule, getUserAcls, type AclsTestRequestDTO, type AclsTestResponseDTO } from '@/api'
7+
import { getUserAcls, type AclsTestRequestDTO, type AclsTestResponseDTO } from '@/api'
88
99
const toast = useToast()
1010
const { catcher } = useToastError()
@@ -35,33 +35,31 @@ async function loadUserAcls() {
3535
<template>
3636
<main class="w-full p-4">
3737
<h1 class="text-4xl font-bold mb-4">Check ACLs</h1>
38-
<p>
39-
Here you can test the wag acl composition engine, submit a username and see what real acls are applied.
40-
</p>
38+
<p>Here you can test the wag acl composition engine, submit a username and see what real acls are applied.</p>
4139
<div class="mt-6 flex flex-wrap w-full">
4240
<div class="card bg-base-100 shadow-xl min-w-[800px] max-w-full">
4341
<div class="card-body">
4442
<div class="gap-4">
4543
<div class="row">
4644
<div class="col">
47-
<div class="flex flex-wrap -mx-3 mb-6">
48-
<div class="px-3">
49-
<input
50-
v-model="inputMode.username"
51-
class="input input-bordered "
52-
id="username"
53-
type="text"
54-
placeholder="Username"
55-
required
56-
/>
45+
<div class="flex flex-wrap -mx-3 mb-6">
46+
<div class="px-3">
47+
<input
48+
v-model="inputMode.username"
49+
class="input input-bordered"
50+
id="username"
51+
type="text"
52+
placeholder="Username"
53+
required
54+
/>
55+
</div>
56+
<button type="submit" class="btn btn-primary" @click="loadUserAcls()">
57+
<span class="loading loading-spinner loading-md" v-if="isLoadingAcls"></span>
58+
Fetch
59+
</button>
5760
</div>
58-
<button type="submit" class="btn btn-primary" @click="loadUserAcls()">
59-
<span class="loading loading-spinner loading-md" v-if="isLoadingAcls"></span>
60-
Fetch
61-
</button>
6261
</div>
6362
</div>
64-
</div>
6563
<div class="row">
6664
<div class="col">
6765
<pre>{{ result.acls }}</pre>

0 commit comments

Comments
 (0)