Skip to content

Commit

Permalink
Change acl icon and button colors
Browse files Browse the repository at this point in the history
  • Loading branch information
owi92 committed Nov 11, 2024
1 parent b0d3193 commit faa8d96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/routes/manage/Video/Shared.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { LuCornerLeftUp, LuInfo, LuShield, LuPlay, LuPenLine } from "react-icons/lu";
import { LuCornerLeftUp, LuInfo, LuShieldCheck, LuPlay, LuPenLine } from "react-icons/lu";
import { graphql } from "react-relay";

import { RootLoader } from "../../../layout/Root";
Expand Down Expand Up @@ -161,7 +161,7 @@ const ManageVideoNav: React.FC<ManageVideoNavProps> = ({ event, active }) => {
entries.splice(1, 0, {
url: `/~manage/videos/${id}/access`,
page: "acl",
body: <><LuShield />{t("manage.my-videos.acl.title")}</>,
body: <><LuShieldCheck />{t("manage.my-videos.acl.title")}</>,
});
}

Expand Down
3 changes: 3 additions & 0 deletions frontend/src/ui/Access.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ export const AclEditButtons: React.FC<AclEditButtonsProps> = ({
}}>
{/* Reset button */}
<Button
kind="danger"
disabled={buttonsDisabled}
onClick={() => currentRef(resetModalRef).open()}
css={{ ...!buttonsDisabled && { ":hover": { color: COLORS.danger0 } } }}
Expand Down Expand Up @@ -855,6 +856,8 @@ export const AclEditButtons: React.FC<AclEditButtonsProps> = ({

{/* Save button */}
<Button
type="submit"
kind="call-to-action"
disabled={buttonsDisabled}
onClick={() => !containsUser(selections)
? currentRef(saveModalRef).open()
Expand Down

0 comments on commit faa8d96

Please sign in to comment.