mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 04:46:05 +00:00
fix overwrite of entity config (e.g. empty label)
This commit is contained in:
@@ -201,7 +201,7 @@ const EntityContextMenu = ({
|
||||
separator,
|
||||
{
|
||||
icon: IconSettings,
|
||||
label: "Settings",
|
||||
label: "Advanced",
|
||||
onClick: () =>
|
||||
navigate(routes.settings.path(["data", "entities", entity.name]), {
|
||||
absolute: true
|
||||
|
||||
@@ -41,7 +41,7 @@ export function DataEntityList({ params }) {
|
||||
const [navigate] = useNavigate();
|
||||
const search = useSearch(searchSchema, {
|
||||
select: entity.getSelect(undefined, "form"),
|
||||
sort: undefined
|
||||
sort: entity.getDefaultSort()
|
||||
});
|
||||
|
||||
const $q = useApiQuery(
|
||||
|
||||
Reference in New Issue
Block a user