Skip to content

Commit

Permalink
remove rename user group dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
lovincyrus committed Sep 30, 2024
1 parent b6a1202 commit f75bb28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 123 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
Pencil,
} from "lucide-svelte";
import DeleteUserGroupConfirmDialog from "./DeleteUserGroupConfirmDialog.svelte";
import RenameUserGroupDialog from "./RenameUserGroupDialog.svelte";
import EditUserGroupDialog from "./EditUserGroupDialog.svelte";
export let name: string;
Expand All @@ -23,7 +22,6 @@
let isDropdownOpen = false;
let isDeleteConfirmOpen = false;
let isRenameDialogOpen = false;
let isEditDialogOpen = false;
function handleAssignRole(role: string) {
Expand Down Expand Up @@ -147,15 +145,6 @@
<Pencil size="12px" />
<span class="ml-2">Edit</span>
</DropdownMenu.Item>
<!-- <DropdownMenu.Item
class="font-normal flex items-center"
on:click={() => {
isRenameDialogOpen = true;
}}
>
<TextCursorInputIcon size="12px" />
<span class="ml-2">Rename</span>
</DropdownMenu.Item> -->
<DropdownMenu.Item
class="font-normal flex items-center"
type="destructive"
Expand All @@ -175,12 +164,6 @@
{onDelete}
/>

<RenameUserGroupDialog
bind:open={isRenameDialogOpen}
groupName={name}
{onRename}
/>

<EditUserGroupDialog
bind:open={isEditDialogOpen}
groupName={name}
Expand Down

This file was deleted.

0 comments on commit f75bb28

Please sign in to comment.