reload on language change

This commit is contained in:
Nicolai Ort 2023-04-15 19:15:33 +02:00
parent bd4fc7a2f4
commit d96f32cc84
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@
<button
on:click={() => {
lang.set("de-DE");
location.reload();
}}
type="button"
class:bg-blue-700={$lang === "de-DE"}
@ -68,6 +69,7 @@
<button
on:click={() => {
lang.set("en-EN");
location.reload();
}}
type="button"
class:bg-blue-700={$lang === "en-EN"}