adminforth 2.44.2-next.1 → 2.45.1

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.
@@ -195,6 +195,7 @@ const props = defineProps<{
195
195
  filters?: AdminforthFilterStore['filters'],
196
196
  show: Boolean,
197
197
  columnsMinMax: ColumnMinMaxValue,
198
+ resourceId?: string,
198
199
  filtersStore: AdminforthFilterStoreUnwrapped
199
200
  }>();
200
201
 
@@ -235,7 +236,7 @@ async function loadMoreOptions(columnName: string, searchTerm = '') {
235
236
  columnName,
236
237
  searchTerm,
237
238
  columns: props.columns,
238
- resourceId: router.currentRoute.value.params.resourceId as string,
239
+ resourceId: props.resourceId ?? router.currentRoute.value.params.resourceId as string,
239
240
  columnOptions,
240
241
  columnLoadingState,
241
242
  columnOffsets,
@@ -490,13 +490,6 @@ async function validateUsingUserValidationFunction(editableColumnsInner: AdminFo
490
490
  }
491
491
  }
492
492
 
493
- watch(customComponentsInValidity, () => {
494
- editableColumns.value?.forEach(column => {
495
- checkIfColumnHasError(column);
496
- });
497
- isValid.value = checkIfAnyColumnHasErrors();
498
- });
499
-
500
493
  defineExpose({
501
494
  columnError,
502
495
  editableColumns,
@@ -7,6 +7,7 @@
7
7
  :show="filtersShow"
8
8
  @hide="filtersShow = false"
9
9
  :filtersStore="filtersStore"
10
+ :resourceId="coreStore.resource?.resourceId"
10
11
  />
11
12
  </Teleport>
12
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.44.2-next.1",
3
+ "version": "2.45.1",
4
4
  "description": "OpenSource Agent-Native forth-generation admin panel",
5
5
  "keywords": [
6
6
  "adminforth",