set default neko image.

This commit is contained in:
m1k1o
2021-03-23 23:26:26 +01:00
parent b160536510
commit 29e24ecf81
+9 -1
View File
@@ -320,12 +320,20 @@ export default class RoomsCreate extends Vue {
Clear() {
this._form.resetValidation()
this.data = { ...this.$store.state.defaultRoomSettings }
this.data = {
...this.$store.state.defaultRoomSettings,
// eslint-disable-next-line
neko_image: this.nekoImages[0],
}
}
Close() {
this.Clear()
this.$emit('finished', true)
}
mounted() {
this.Clear()
}
}
</script>