Ensure newly created attributes save properly without needing to reorder them first
This commit is contained in:
parent
47e5d5168b
commit
196da71c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ export class AttributeManager extends HandlebarsApplicationMixin(ApplicationV2)
|
||||||
const id = randomID();
|
const id = randomID();
|
||||||
this.#attributes[id] = {
|
this.#attributes[id] = {
|
||||||
name: ``,
|
name: ``,
|
||||||
sort: Number.POSITIVE_INFINITY,
|
sort: Number.MAX_SAFE_INTEGER,
|
||||||
isRange: false,
|
isRange: false,
|
||||||
isNew: true,
|
isNew: true,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue