bfg-common 1.4.715 → 1.4.716

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,7 +51,7 @@
51
51
  </div>
52
52
 
53
53
  <common-monitor-overview-filters-custom-interval-modal
54
- v-if="isShowIntervalModal"
54
+ v-show="isShowIntervalModal"
55
55
  :selected-periods="props.selectedPeriods"
56
56
  :format-date="props.formatDate"
57
57
  :current-lang="props.currentLang"
@@ -176,8 +176,8 @@ const sendUpdatedFilters = (): void => {
176
176
  }
177
177
  watch(
178
178
  () => [selectedPeriod.value, selectedView.value],
179
- (newValue: string[]) => {
180
- newValue[0] !== 'custom_interval' && sendUpdatedFilters()
179
+ () => {
180
+ sendUpdatedFilters()
181
181
  },
182
182
  { immediate: true }
183
183
  )
@@ -131,6 +131,7 @@ const titleIntervalModal = ref<string>(
131
131
  const selectedItem = ref<string>('')
132
132
 
133
133
  const onHide = (): void => {
134
+ getCurrentTime()
134
135
  emits('hide')
135
136
  }
136
137
 
@@ -219,6 +220,7 @@ const onSubmit = (): void => {
219
220
  onMounted(() => {
220
221
  selectedItem.value = location.hostname
221
222
  getCurrentTime()
223
+ onSubmit()
222
224
  })
223
225
  </script>
224
226
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.715",
4
+ "version": "1.4.716",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",