mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-05-24 08:50:51 -04:00
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 -->
|
||||
<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="stylesheet" crossorigin href="./assets/index-ltAYvB1J.css">
|
||||
</head>
|
||||
|
||||
@@ -436,7 +436,7 @@ function recordUpsertModal(collection, rawRecord, modalSettings) {
|
||||
{ className: "col-12" },
|
||||
app.fieldTypes[pkField.type].input({
|
||||
get collection() {
|
||||
return data.collection;
|
||||
return collection;
|
||||
},
|
||||
get originalRecord() {
|
||||
return data.originalRecord;
|
||||
@@ -495,7 +495,7 @@ function recordUpsertModal(collection, rawRecord, modalSettings) {
|
||||
() => {
|
||||
return app.fieldTypes[field.type].input({
|
||||
get collection() {
|
||||
return data.collection;
|
||||
return collection;
|
||||
},
|
||||
get originalRecord() {
|
||||
return data.originalRecord;
|
||||
|
||||
Reference in New Issue
Block a user