Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #227 from covid19-oita/development
Browse files Browse the repository at this point in the history
  • Loading branch information
nojiri1098 authored Apr 29, 2020
2 parents 59ed019 + b3c767d commit e8c06d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 4 additions & 4 deletions components/ConfirmedCasesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<span :class="$style.small">({{ $t('累計') }})</span>
<span>
<strong>{{ 累計 }}</strong>
<span :class="$style.unit">{{ $t('件.tested') }}</span>
<span :class="$style.unit">{{ $t('') }}</span>
</span>
</div>
</div>
Expand All @@ -19,7 +19,7 @@
<span>{{ $t('入院中') }}</span>
<span>
<strong>{{ 入院中 }}</strong>
<span :class="$style.unit">{{ $t('件.tested') }}</span>
<span :class="$style.unit">{{ $t('') }}</span>
</span>
</div>
</div>
Expand All @@ -30,7 +30,7 @@
<span>{{ $t('死亡') }}</span>
<span>
<strong>{{ 死亡 }}</strong>
<span :class="$style.unit">{{ $t('件.tested') }}</span>
<span :class="$style.unit">{{ $t('') }}</span>
</span>
</div>
</div>
Expand All @@ -41,7 +41,7 @@
<span>{{ $t('退院') }}</span>
<span>
<strong>{{ 退院 }}</strong>
<span :class="$style.unit">{{ $t('件.tested') }}</span>
<span :class="$style.unit">{{ $t('') }}</span>
</span>
</div>
</div>
Expand Down
6 changes: 1 addition & 5 deletions components/TimeChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
/>
</div>
</div>
<template v-if="!isTOS()" v-slot:dataTable>
<template v-slot:dataTable>
<v-data-table
:headers="tableHeaders"
:items="tableData"
Expand Down Expand Up @@ -111,7 +111,6 @@ type Methods = {
displayValue: (chartType: 'bar' | 'line') => 'block' | 'none'
isTransition: () => boolean
isCumulative: () => boolean
isTOS: () => boolean
}
type Computed = {
Expand Down Expand Up @@ -546,9 +545,6 @@ const options: ThisTypedComponentOptionsWithRecordProps<
},
isCumulative() {
return this.dataKind === 'cumulative'
},
isTOS() {
return location.href === 'https://www.tostv.jp/emergency/'
}
},
mounted() {
Expand Down

0 comments on commit e8c06d0

Please sign in to comment.