Don't update selected model

This commit is contained in:
Misode
2020-09-22 22:10:55 +02:00
parent d5e96605af
commit a7f062cc68
2 changed files with 1 additions and 2 deletions

View File

@@ -180,7 +180,6 @@ Promise.all([
Object.values(views).forEach(v => v.setModel(models[selected]))
models[selected].invalidate()
}
selectedModel.textContent = title
}
const updateLanguage = (id: string, store = false) => {

View File

@@ -50,7 +50,7 @@ module.exports = (env, argv) => ({
function buildModel(model) {
const page = new HtmlWebpackPlugin({
title: `${model.name} Generators Minecraft`,
title: `${model.name} Generator Minecraft`,
filename: `${model.id}/index.html`,
template: 'src/index.html'
})