maxAllowed

This commit is contained in:
Niels Lyngsø
2024-08-19 09:30:26 +02:00
parent f7c6d55365
commit 7828f0fb02

View File

@@ -98,9 +98,9 @@ export class UmbBlockGridEntriesContext
getMaxAllowed() {
if (this.#areaKey) {
return this.#areaType?.minAllowed ?? Infinity;
return this.#areaType?.maxAllowed ?? Infinity;
}
return this._manager?.getMinAllowed() ?? Infinity;
return this._manager?.getMaxAllowed() ?? Infinity;
}
getLayoutContainerElement() {