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:
DebaucheryLibrarian
2021-03-20 03:33:29 +01:00
parent bb9d6ee8fc
commit 67af9f2ea2
3 changed files with 19 additions and 10 deletions

View File

@@ -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,