fixing
This commit is contained in:
parent
76998748b1
commit
78a4a08d4a
|
|
@ -527,7 +527,7 @@ const CalendarView = ({ categories }: CalendarViewProps) => {
|
||||||
<Card className="col-span-12 lg:col-span-4 2xl:col-span-3 pb-5">
|
<Card className="col-span-12 lg:col-span-4 2xl:col-span-3 pb-5">
|
||||||
<CardContent className="p-0">
|
<CardContent className="p-0">
|
||||||
<CardHeader className="border-none mb-2 pt-5">
|
<CardHeader className="border-none mb-2 pt-5">
|
||||||
{[3, 11, 2].includes(roleId) && (
|
{[3, 11, 2, 12].includes(roleId) && (
|
||||||
<Button
|
<Button
|
||||||
onClick={handleDateClick}
|
onClick={handleDateClick}
|
||||||
className="dark:bg-background dark:text-foreground w-full"
|
className="dark:bg-background dark:text-foreground w-full"
|
||||||
|
|
|
||||||
|
|
@ -1180,7 +1180,7 @@ const EventModal = ({
|
||||||
<div className="flex flex-wrap gap-2 mt-10">
|
<div className="flex flex-wrap gap-2 mt-10">
|
||||||
<Button
|
<Button
|
||||||
style={
|
style={
|
||||||
roleId > 11
|
roleId > 12
|
||||||
? {
|
? {
|
||||||
display: "none",
|
display: "none",
|
||||||
}
|
}
|
||||||
|
|
@ -1203,7 +1203,7 @@ const EventModal = ({
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
style={
|
style={
|
||||||
roleId > 11
|
roleId > 12
|
||||||
? {
|
? {
|
||||||
display: "none",
|
display: "none",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue