Using thumbnail width and height for release banner photos. Preventing user page from reloading when closing the add stash dialog without adding stash.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<Dialog
|
||||
title="Add stash"
|
||||
@close="$emit('close')"
|
||||
@close="$emit('close', false)"
|
||||
>
|
||||
<form @submit.prevent="addStash">
|
||||
<input
|
||||
@@ -28,7 +28,7 @@ async function addStash() {
|
||||
name: this.name,
|
||||
});
|
||||
|
||||
this.$emit('close');
|
||||
this.$emit('close', true);
|
||||
}
|
||||
|
||||
function mounted() {
|
||||
@@ -41,6 +41,7 @@ export default {
|
||||
name: null,
|
||||
};
|
||||
},
|
||||
emits: ['close'],
|
||||
mounted,
|
||||
methods: {
|
||||
addStash,
|
||||
|
||||
Reference in New Issue
Block a user