add: page and access filter to tags tab

This commit is contained in:
2026-02-16 10:59:31 +03:30
parent 225b2d874d
commit e507d08835

View File

@@ -4,7 +4,10 @@ import Tabs from "../components/Tab/Tab";
import Taggings from "../partials/tagging/Taggings"; import Taggings from "../partials/tagging/Taggings";
import Tags from "../partials/tagging/Tags"; import Tags from "../partials/tagging/Tags";
const tabItems = [{ label: "ثبت پلاک" }, { label: "پلاک ها" }]; const tabItems = [
{ label: "ثبت پلاک" },
{ label: "پلاک ها", page: "tagging_detail", access: "Show-Tagging-Detail" },
];
export default function Tagging() { export default function Tagging() {
const [selectedTab, setSelectedTab] = useState<number>(0); const [selectedTab, setSelectedTab] = useState<number>(0);