format
This commit is contained in:
@@ -37,7 +37,7 @@ export class UmbPickerInputContext<ItemType extends ItemResponseModelBaseModel>
|
||||
host: UmbControllerHostElement,
|
||||
repositoryAlias: string,
|
||||
modalAlias: string | UmbModalToken,
|
||||
getUniqueMethod?: (entry: ItemType) => string | undefined
|
||||
getUniqueMethod?: (entry: ItemType) => string | undefined,
|
||||
) {
|
||||
this.host = host;
|
||||
this.modalAlias = modalAlias;
|
||||
|
||||
@@ -29,7 +29,7 @@ export class UmbRepositoryItemsManager<ItemType extends ItemResponseModelBaseMod
|
||||
constructor(
|
||||
host: UmbControllerHostElement,
|
||||
repositoryAlias: string,
|
||||
getUniqueMethod?: (entry: ItemType) => string | undefined
|
||||
getUniqueMethod?: (entry: ItemType) => string | undefined,
|
||||
) {
|
||||
this.host = host;
|
||||
this.#getUnique = getUniqueMethod || ((entry) => entry.id || '');
|
||||
|
||||
Reference in New Issue
Block a user