Skip to content

Commit

Permalink
Refactor component name: SmallButton -> XSmallButton
Browse files Browse the repository at this point in the history
Signed-off-by: Don Alfons Nisnoni <[email protected]>
  • Loading branch information
itsdonnix committed Mar 29, 2021
1 parent 81d7d7b commit 7ffbf68
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/frontend/src/components/GroupMembers.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import SmallButton from '../components/SmallButton.svelte';
import SmallButton from './XSmallButton.svelte';
import { users } from '../stores/users.js';
import { mdiMinus, mdiPlus } from '@mdi/js';
import { Button, Icon } from 'svelte-materialify/src';
Expand Down
8 changes: 4 additions & 4 deletions src/main/frontend/src/routes/admin/permissions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import CommonDialog from '../../components/CommonDialog.svelte';
import { dialogState, loading } from '../../shared/common.js';
import Table from '../../components/Table.svelte';
import SmallButton from '../../components/SmallButton.svelte';
import XSmallButton from '../../components/XSmallButton.svelte';
import ConstraintsEditor from '../../components/ConstraintsEditor.svelte';
import FloatAddButton from '../../components/FloatAddButton.svelte';
Expand Down Expand Up @@ -175,15 +175,15 @@
<td>{permission.description}</td>
<td>{permission.constraints.map((c) => c.name).join(', ')}</td>
<td class="text-center table-row-actions">
<SmallButton
<XSmallButton
on:click={() => openManageConstraintsDialog(index)}
iconPath={mdiLock}
title="Manage permission constraints" />
<SmallButton
<XSmallButton
on:click={() => openUpdateDialog(index)}
iconPath={mdiPencil}
title="Update/edit permission" />
<SmallButton
<XSmallButton
on:click={() => openDeleteDialog(index)}
iconPath={mdiDelete}
title="Remove/delete permission" />
Expand Down

0 comments on commit 7ffbf68

Please sign in to comment.