fixed collection getter
This commit is contained in:
File diff suppressed because one or more lines are too long
2
ui/dist/index.html
vendored
2
ui/dist/index.html
vendored
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<!-- prism -->
|
<!-- prism -->
|
||||||
<script src="./libs/prism/prism.js" data-manual></script>
|
<script src="./libs/prism/prism.js" data-manual></script>
|
||||||
<script type="module" crossorigin src="./assets/index-BIxYjbnA.js"></script>
|
<script type="module" crossorigin src="./assets/index-BDa4X9xH.js"></script>
|
||||||
<link rel="modulepreload" crossorigin href="./assets/pocketbase.es-B_4DUNUU.js">
|
<link rel="modulepreload" crossorigin href="./assets/pocketbase.es-B_4DUNUU.js">
|
||||||
<link rel="stylesheet" crossorigin href="./assets/index-ltAYvB1J.css">
|
<link rel="stylesheet" crossorigin href="./assets/index-ltAYvB1J.css">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -436,7 +436,7 @@ function recordUpsertModal(collection, rawRecord, modalSettings) {
|
|||||||
{ className: "col-12" },
|
{ className: "col-12" },
|
||||||
app.fieldTypes[pkField.type].input({
|
app.fieldTypes[pkField.type].input({
|
||||||
get collection() {
|
get collection() {
|
||||||
return data.collection;
|
return collection;
|
||||||
},
|
},
|
||||||
get originalRecord() {
|
get originalRecord() {
|
||||||
return data.originalRecord;
|
return data.originalRecord;
|
||||||
@@ -495,7 +495,7 @@ function recordUpsertModal(collection, rawRecord, modalSettings) {
|
|||||||
() => {
|
() => {
|
||||||
return app.fieldTypes[field.type].input({
|
return app.fieldTypes[field.type].input({
|
||||||
get collection() {
|
get collection() {
|
||||||
return data.collection;
|
return collection;
|
||||||
},
|
},
|
||||||
get originalRecord() {
|
get originalRecord() {
|
||||||
return data.originalRecord;
|
return data.originalRecord;
|
||||||
|
|||||||
Reference in New Issue
Block a user