bug fix
This commit is contained in:
@@ -145,7 +145,7 @@ const Tours = ({ user }: { user: Role }) => {
|
||||
<Button
|
||||
onClick={() => navigate("/tours/create")}
|
||||
variant="default"
|
||||
// disabled={user !== "tour_admin"}
|
||||
disabled={user !== "tour_admin"}
|
||||
>
|
||||
<PlusCircle className="w-5 h-5 mr-2" /> {t("Yangi tur qo'shish")}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user