We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6e0bc3 commit a46c9a2Copy full SHA for a46c9a2
core/client/components/collection/KTimeFilterControl.vue
@@ -9,6 +9,7 @@
9
</template>
10
11
<script setup>
12
+import _ from 'lodash'
13
import { computed } from 'vue'
14
import { useCurrentActivity } from '../../composables'
15
@@ -28,7 +29,7 @@ const timeFilter = CurrentActivityContext.state.timeFilter
28
29
const min = computed(() => _.get(timeFilter, 'min'))
30
const max = computed(() => _.get(timeFilter, 'max'))
31
const hasTimeRange = computed(() => {
- return !_.isEmpty(min.value) && !_.isEmpty(max.value) && min.value !== max.value
32
+ return !_.isEmpty(min.value) && !_.isEmpty(max.value) && min.value !== max.value
33
})
34
35
// Functions
0 commit comments