Skip to content

Commit

Permalink
Add double click to edit for groups and rules
Browse files Browse the repository at this point in the history
  • Loading branch information
NHAS committed Nov 24, 2024
1 parent 75cfaaa commit 56e0e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adminui/frontend/src/pages/Groups.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async function tryDeleteGroups(groups: string[]) {
</tr>
</thead>
<tbody>
<tr class="hover group" v-for="group in currentGroups" :key="group.group">
<tr class="hover group" v-for="group in currentGroups" :key="group.group" v-on:dblclick="openEditGroup(group)">
<td class="font-mono">
<div class="overflow-hidden text-ellipsis whitespace-nowrap">{{ group.group }}</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion adminui/frontend/src/pages/Rules.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async function tryDeleteRules(rules: string[]) {
</tr>
</thead>
<tbody>
<tr class="hover group" v-for="rule in currentRules" :key="rule.effects">
<tr class="hover group" v-for="rule in currentRules" :key="rule.effects" v-on:dblclick="openEditRule(rule)">
<td class="font-mono">
<div class="overflow-hidden text-ellipsis whitespace-nowrap">{{ rule.effects }}</div>
</td>
Expand Down

0 comments on commit 56e0e0d

Please sign in to comment.