add: domain in access and page

This commit is contained in:
2026-02-24 12:12:40 +03:30
parent 2829f68831
commit 0743d6c86f
4 changed files with 34 additions and 3 deletions

View File

@@ -32,6 +32,7 @@ export default function Pages() {
? i + 1
: i + pagesInfo.page_size * (pagesInfo.page - 1) + 1,
getFaPermissions(item?.name),
item?.domain?.fa_name || "-",
item?.name,
item?.permissions?.map((option: any) => option.name)?.join(" - "),
<Popover key={i}>
@@ -110,7 +111,7 @@ export default function Pages() {
count={pagesData?.count || 10}
isPaginated
title="صفحات سامانه"
columns={["ردیف", "صفحه", "کلید", "دسترسی ها", "عملیات"]}
columns={["ردیف", "صفحه", "حوزه", "کلید", "دسترسی ها", "عملیات"]}
rows={pagesTableData}
/>
</Grid>