adminforth 2.44.0 → 2.45.0
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,
|