Skip to content

Commit c5f2bd5

Browse files
authored
Fixed typing on GroupsManagerTriggerProps (#6505)
1 parent 3fefca3 commit c5f2bd5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

frontend/app/src/entities/groups/ui/groups-manager-trigger-button.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import { GroupsManager, GroupsManagerProps } from "@/entities/groups/ui/groups-manager";
22
import { useGetObject } from "@/entities/nodes/object/domain/get-object.query";
3+
import { Permission } from "@/entities/permission/types";
34
import { ButtonProps, ButtonWithTooltip } from "@/shared/components/buttons/button-primitive";
45
import SlideOver, { SlideOverTitle } from "@/shared/components/display/slide-over";
56
import { Icon } from "@iconify-icon/react";
67
import { useState } from "react";
78

8-
type GroupsManagerTriggerProps = ButtonProps & GroupsManagerProps;
9+
export interface GroupsManagerTriggerProps extends ButtonProps, GroupsManagerProps {
10+
permission: Permission;
11+
}
912

1013
export const GroupsManagerTriggerButton = ({
1114
schema,

frontend/app/src/shared/components/aria/popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ export const Popover = ({ className, offset = 4, ...props }: PopoverProps) => (
2626
);
2727

2828
export function PopoverDialog({ className, ...props }: AriaDialogProps) {
29-
return <AriaDialog className={classNames("p-2 outline outline-0", className)} {...props} />;
29+
return <AriaDialog className={classNames("p-2 outline-hidden", className)} {...props} />;
3030
}

0 commit comments

Comments
 (0)