From: Marc Foley Date: Tue, 21 Jan 2025 15:16:59 +0000 (+0000) Subject: tidy up X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bf77ae85a6b4759f890b999e4882315ef850f98;p=thirdparty%2Fgoogle%2Ffonts.git tidy up --- diff --git a/.ci/tags.html b/.ci/tags.html index ea20d7ad2e..3380df1f76 100644 --- a/.ci/tags.html +++ b/.ci/tags.html @@ -179,7 +179,7 @@ if (this.axes.length === 0) { return baseUrl + this.name.replace(" ", "+"); } - let tag = this.toTag(); + let tag = this.toTag().replace(" ", "+"); return baseUrl + tag.replace(/\|/g, ","); } @@ -428,7 +428,7 @@ } this.seen.add(tagKey); this.tags.push(newFamily); - this.history.push(`+ ${newFamily.name},${newFamily.category},${newFamily.score}`); + this.history.push(`+ ${newFamily.displayName},${newFamily.category},${newFamily.score}`); // Remove all axis inputs for the next family this.newAxes = []; @@ -477,7 +477,9 @@ removeFamily(Family) { this.isEdited = true; this.tags = this.tags.filter((t) => t !== Family); - this.history.push(`- ${Family.name},${Family.category},${Family.score}`); + let tagKey = `${Family.name},${Family.category}`; + this.seen.delete(tagKey); + this.history.push(`- ${Family.displayName},${Family.category},${Family.score}`); }, tagsToCSV() { this.RemovePlaceHolderTags();