Fix MessageRetentionDialog
This commit is contained in:
parent
76670b4239
commit
866607a949
2 changed files with 14 additions and 5 deletions
|
|
@ -173,4 +173,12 @@ body { position:absolute; top:0; bottom:0; right:0; left:0; }
|
|||
|
||||
.v-card-title {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.fluid-radio {
|
||||
flex-direction: row-reverse;
|
||||
margin-bottom: 0;
|
||||
.v-label {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
|
@ -4,16 +4,14 @@
|
|||
class="ma-0 pa-0"
|
||||
:width="$vuetify.display.smAndUp ? '688px' : '95%'">
|
||||
<div class="dialog-content text-center">
|
||||
<template>
|
||||
<h2>{{ $t("room_info.message_retention") }}</h2>
|
||||
</template>
|
||||
<h2 class="dialog-title">{{ $t("room_info.message_retention") }}</h2>
|
||||
<v-container fluid>
|
||||
<v-row cols="12">
|
||||
<v-col cols="12">
|
||||
<v-form v-model="isValid">
|
||||
<v-radio-group v-model="retention" class="my-0 py-0">
|
||||
<v-radio active-class="radio-active" class="flex-row-reverse mb-0" v-for="p in retentionPeriods"
|
||||
:key="p.text" :label="p.text" :value="p.value" />
|
||||
<v-radio active-class="radio-active" class="fluid-radio" v-for="p in retentionPeriods"
|
||||
:key="p.text" :label="p.text" :value="p.value" color="primary" />
|
||||
</v-radio-group>
|
||||
</v-form>
|
||||
</v-col>
|
||||
|
|
@ -55,6 +53,9 @@ export default {
|
|||
this.setInitialValue();
|
||||
},
|
||||
methods: {
|
||||
shouldShow() {
|
||||
return this.modelValue ? true : false;
|
||||
},
|
||||
onOpenDialog() {
|
||||
// Showing, reset
|
||||
this.setInitialValue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue