const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
- a.download = "families_new.csv";
+ a.download = "families.csv";
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
alert("Tag data copied to clipboard. A github pull request page will open in a new tab. Please remove the old data and paste in the new.");
navigator.clipboard.writeText(csv);
if (this.commit !== "refs/heads/main") {
- window.open(`https://github.com/google/fonts/edit/${this.commit}/tags/all/families_new.csv`);
+ window.open(`https://github.com/google/fonts/edit/${this.commit}/tags/all/families.csv`);
} else {
- window.open("https://github.com/google/fonts/edit/main/tags/all/families_new.csv")
+ window.open("https://github.com/google/fonts/edit/main/tags/all/families.csv")
}
},
loadCSV() {
}
this.history = [];
this.tags = [];
- const csvFilePath = `https://raw.githubusercontent.com/google/fonts/${this.commit}/tags/all/families_new.csv`; // Update this path to your CSV file
+ const csvFilePath = `https://raw.githubusercontent.com/google/fonts/${this.commit}/tags/all/families.csv`; // Update this path to your CSV file
fetch(csvFilePath)
.then(response => {
if (response.status === 404) {