Breadcrumbs (#296)

* add breadcrumbs

* rm space

* move breadcrumbs to ui
This commit is contained in:
tmshv authored and GitHub committed 2026-04-25 03:15:25 +03:00
1 parent ad9695127a
commit 98dcaaa237
11 files changed
+92 -12

No files matched your search

@@ -0,0 +1,29 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_1125843985")
// add field
collection.fields.addAt(5, new Field({
"cascadeDelete": false,
"collectionId": "pbc_1125843985",
"help": "",
"hidden": false,
"id": "relation1032740943",
"maxSelect": 0,
"minSelect": 0,
"name": "parent",
"presentable": false,
"required": false,
"system": false,
"type": "relation"
}))
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_1125843985")
// remove field
collection.fields.removeById("relation1032740943")
return app.save(collection)
})