@@ -53,7 +53,9 @@ export default {
this.clickedOnce = false;
this.$emit("confirm");
- this.$refs.confirm.tippy.hide();
+ setTimeout(() => {
+ this.$refs.confirm.tippy.hide();
+ }, 25);
},
click(event) {
if (!this.clickedOnce) this.clickedOnce = true;
@@ -81,6 +81,9 @@ export default {
this.userRole === "admin")
);
+ isAdmin() {
+ return this.userRole === "admin";
+ },
renamePlaylist() {
const { displayName } = this.playlist;
if (!validation.isLength(displayName, 2, 32))