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
|
||||
</v-card-title>
|
||||
<v-card-text>
|
||||
<RoomInfo :roomId="roomId" />
|
||||
<RoomInfo v-if="dialog" :roomId="roomId" />
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
Room information
|
||||
</v-card-title>
|
||||
<v-card-text>
|
||||
<RoomInfo :roomId="roomId" />
|
||||
<RoomInfo v-if="dialog" :roomId="roomId" />
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
|
||||
@@ -36,11 +36,7 @@
|
||||
</v-col>
|
||||
<v-col class="text-right">
|
||||
<RoomsQuick class="mr-3" />
|
||||
<v-dialog
|
||||
v-model="dialog"
|
||||
persistent
|
||||
max-width="600px"
|
||||
>
|
||||
<v-dialog v-model="dialog" persistent max-width="600px">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-btn
|
||||
v-bind="attrs"
|
||||
@@ -52,7 +48,7 @@
|
||||
</v-btn>
|
||||
</template>
|
||||
|
||||
<RoomsCreate @finished="dialog = false" />
|
||||
<RoomsCreate v-if="dialog" @finished="dialog = false" />
|
||||
</v-dialog>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
Reference in New Issue
Block a user