@krak-stack/auth 0.1.55 → 0.1.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -122,7 +122,8 @@ export function AdminOrganizationsTable({ from, reloadKey = 0, search, }) {
|
|
|
122
122
|
onFailure: () => false,
|
|
123
123
|
onSuccess: () => false,
|
|
124
124
|
});
|
|
125
|
-
return (_jsxs("div", { className: "flex flex-col gap-4", children: [error ? _jsx(ErrorMessage, { text: error }) : null, _jsx(DataTable, { columns: organizationColumns(m, locale, baseUrl), data: organizations,
|
|
125
|
+
return (_jsxs("div", { className: "flex flex-col gap-4", children: [error ? _jsx(ErrorMessage, { text: error }) : null, _jsx(DataTable, { columns: organizationColumns(m, locale, baseUrl), data: organizations, features: {
|
|
126
|
+
columnVisibility: { default: { id: false } },
|
|
126
127
|
export: { baseName: "organizations" },
|
|
127
128
|
gallery: false,
|
|
128
129
|
pagination: { mode: "server", rowCount: total },
|
|
@@ -183,7 +183,8 @@ export function AdminUsersTable({ from, reloadKey = 0, search, }) {
|
|
|
183
183
|
await navigate({ to: "/" });
|
|
184
184
|
await router.invalidate();
|
|
185
185
|
};
|
|
186
|
-
return (_jsxs(_Fragment, { children: [error ? _jsx(ErrorMessage, { text: error }) : null, impersonateError ? _jsx(ErrorMessage, { text: impersonateError }) : null, _jsx(DataTable, { columns: userColumns(m, baseUrl), data: users,
|
|
186
|
+
return (_jsxs(_Fragment, { children: [error ? _jsx(ErrorMessage, { text: error }) : null, impersonateError ? _jsx(ErrorMessage, { text: impersonateError }) : null, _jsx(DataTable, { columns: userColumns(m, baseUrl), data: users, features: {
|
|
187
|
+
columnVisibility: { default: { id: false } },
|
|
187
188
|
export: { baseName: "users" },
|
|
188
189
|
gallery: false,
|
|
189
190
|
pagination: { mode: "server", rowCount: total },
|