Ensure newly created attributes save properly without needing to reorder them first

This commit is contained in:
Oliver-Akins 2025-07-25 22:14:31 -06:00
parent 47e5d5168b
commit 196da71c1d

View file

@ -141,7 +141,7 @@ export class AttributeManager extends HandlebarsApplicationMixin(ApplicationV2)
const id = randomID();
this.#attributes[id] = {
name: ``,
sort: Number.POSITIVE_INFINITY,
sort: Number.MAX_SAFE_INTEGER,
isRange: false,
isNew: true,
};