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