mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
remove components when dialog not shown.
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
Room information
|
Room information
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<RoomInfo :roomId="roomId" />
|
<RoomInfo v-if="dialog" :roomId="roomId" />
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
Room information
|
Room information
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<RoomInfo :roomId="roomId" />
|
<RoomInfo v-if="dialog" :roomId="roomId" />
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
|
|||||||
@@ -36,11 +36,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="text-right">
|
<v-col class="text-right">
|
||||||
<RoomsQuick class="mr-3" />
|
<RoomsQuick class="mr-3" />
|
||||||
<v-dialog
|
<v-dialog v-model="dialog" persistent max-width="600px">
|
||||||
v-model="dialog"
|
|
||||||
persistent
|
|
||||||
max-width="600px"
|
|
||||||
>
|
|
||||||
<template v-slot:activator="{ on, attrs }">
|
<template v-slot:activator="{ on, attrs }">
|
||||||
<v-btn
|
<v-btn
|
||||||
v-bind="attrs"
|
v-bind="attrs"
|
||||||
@@ -52,7 +48,7 @@
|
|||||||
</v-btn>
|
</v-btn>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<RoomsCreate @finished="dialog = false" />
|
<RoomsCreate v-if="dialog" @finished="dialog = false" />
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|||||||
Reference in New Issue
Block a user