Skip to content

Commit

Permalink
chore: rename UiTime to UiClock
Browse files Browse the repository at this point in the history
  • Loading branch information
ludchieng committed Jan 24, 2023
1 parent 82fbe9c commit ccb54ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>
<div class="clock">
<div>
<DesignTime :time="time" />
<UiClock :time="time" />
</div>
</div>
</header>
Expand All @@ -35,13 +35,13 @@
<script lang="ts">
import Vue from 'vue'
import LineIcon from '@/components/LineIcon.vue'
import DesignTime from '@/components/ui/UiTime.vue'
import UiClock from '@/components/ui/UiClock.vue'
import { Time } from '@/utils/time'
export default Vue.extend({
name: 'AppHeader',
components: {
LineIcon,
DesignTime,
UiClock,
},
data: () => ({
clockInterval: 0,
Expand Down
6 changes: 3 additions & 3 deletions src/components/ui/Schedules/UiSchedulesDetailsTimeInline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
{{ label }}
</div>
<div class="value">
<UiTime :time="time" />
<UiClock :time="time" />
</div>
</div>
</template>

<script lang="ts">
import Vue, { PropType } from 'vue'
import UiTime from '@/components/ui/UiTime.vue'
import UiClock from '@/components/ui/UiClock.vue'
import { Time, toTime } from '@/utils/time'
export default Vue.extend({
name: 'UiSchedulesDetailsTimeInline',
components: {
UiTime,
UiClock,
},
props: {
label: String,
Expand Down
6 changes: 3 additions & 3 deletions src/components/ui/Schedules/UiSchedulesDetailsTimeWrapped.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="label">
{{ label }}
</div>
<UiTime
<UiClock
:time="time"
:text-gray="isTimeTextGray"
/>
Expand All @@ -18,13 +18,13 @@

<script lang="ts">
import Vue, { PropType } from 'vue'
import UiTime from '@/components/ui/UiTime.vue'
import UiClock from '@/components/ui/UiClock.vue'
import { Time, toTime } from '@/utils/time'
export default Vue.extend({
name: 'UiSchedulesDetailsTimeWrapped',
components: {
UiTime,
UiClock,
},
props: {
label: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import { Time } from '@/utils/time'
import Vue, { PropType } from 'vue'
export default Vue.extend({
name: 'UiTime',
name: 'UiClock',
props: {
time: {} as PropType<Time>,
textGray: Boolean,
Expand Down

0 comments on commit ccb54ba

Please sign in to comment.