minor
This commit is contained in:
@@ -20,7 +20,7 @@ v-col(cols=12)
|
|||||||
@input="date => change('date', date)"
|
@input="date => change('date', date)"
|
||||||
:attributes='attributes'
|
:attributes='attributes'
|
||||||
:locale='$i18n.locale'
|
:locale='$i18n.locale'
|
||||||
:is-dark="settings['theme.is_dark']"
|
:is-dark="is_dark"
|
||||||
is-inline
|
is-inline
|
||||||
is-expanded
|
is-expanded
|
||||||
:min-date='type !== "recurrent" && new Date()')
|
:min-date='type !== "recurrent" && new Date()')
|
||||||
@@ -95,7 +95,7 @@ v-col(cols=12)
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
import { mapState, mapActions } from 'vuex'
|
import { mapState, mapActions, mapGetters } from 'vuex'
|
||||||
import List from '@/components/List'
|
import List from '@/components/List'
|
||||||
import { attributesFromEvents } from '../assets/helper'
|
import { attributesFromEvents } from '../assets/helper'
|
||||||
import { mdiClockTimeFourOutline, mdiClockTimeEightOutline, mdiClose } from '@mdi/js'
|
import { mdiClockTimeFourOutline, mdiClockTimeEightOutline, mdiClose } from '@mdi/js'
|
||||||
@@ -123,6 +123,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['settings', 'events']),
|
...mapState(['settings', 'events']),
|
||||||
|
...mapGetters(['is_dark']),
|
||||||
fromDate () {
|
fromDate () {
|
||||||
if (this.value.from) {
|
if (this.value.from) {
|
||||||
if (this.value.multidate) {
|
if (this.value.multidate) {
|
||||||
|
|||||||
Reference in New Issue
Block a user