1
0
mirror of synced 2025-12-19 17:48:10 -05:00

set placeholder value to 0

This commit is contained in:
Marc Foley
2025-05-28 14:49:08 +01:00
parent 4121e9cc74
commit 4a8b0e8443

View File

@@ -622,14 +622,14 @@ function axesCombos(axes) {
const familiesToAdd = this.uniqueFamilies
familiesToAdd.forEach((family) => {
if (!seen.has(family.name)) {
this.tags.push(new FontTag(family.name, this.currentCategory, score=""));
this.tags.push(new FontTag(family.name, this.currentCategory, score=0));
}
});
this.history.push(`+ Placeholder tags added for ${this.currentCategory}`);
},
RemovePlaceHolderTags() {
this.isEdited = true;
this.tags = this.tags.filter((family) => family.score !== "");
this.tags = this.tags.filter((family) => family.score !== 0);
this.history.push(`- Placeholder tags removed for all categories`);
},
removeFamily(Family) {