mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-08-05 10:14:10 +00:00
add confirmation dialog to resetting prefs
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user