mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +00:00
add confirmation dialog to resetting prefs
This commit is contained in:
parent
4e9e098e91
commit
16ff17c3b5
@ -575,6 +575,7 @@ export default {
|
||||
window.location = "/";
|
||||
},
|
||||
resetPreferences() {
|
||||
if (!confirm(this.$t("actions.reset_preferences") + "?")) return;
|
||||
// clear the local storage
|
||||
localStorage.clear();
|
||||
// redirect to the home page
|
||||
|
Loading…
Reference in New Issue
Block a user