Skip to content

Commit

Permalink
Merge pull request #143 from HiEventsDev/develop
Browse files Browse the repository at this point in the history
Add open check-in link
  • Loading branch information
daveearley authored Aug 17, 2024
2 parents d1d873f + 34e6f7b commit 3894c60
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frontend/src/components/common/CheckInListList/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {CheckInList, IdParam} from "../../../types";
import {Badge, Button, Progress} from "@mantine/core";
import {t, Trans} from "@lingui/macro";
import {IconCopy, IconHelp, IconPencil, IconPlus, IconTrash} from "@tabler/icons-react";
import {IconCopy, IconExternalLink, IconHelp, IconLink, IconPencil, IconPlus, IconTrash} from "@tabler/icons-react";
import Truncate from "../Truncate";
import {NoResultsSplash} from "../NoResultsSplash";
import classes from './CheckInListList.module.scss';
Expand Down Expand Up @@ -161,6 +161,13 @@ export const CheckInListList = ({checkInLists, openCreateModal}: CheckInListList
showSuccess(t`Check-In URL copied to clipboard`);
});
}
},
{
label: t`Open Check-In Page`,
icon: <IconExternalLink size={14}/>,
onClick: () => {
window.open(`/check-in/${list.short_id}`, '_blank');
}
}
],
},
Expand Down

0 comments on commit 3894c60

Please sign in to comment.