Skip to content

Commit

Permalink
Merge pull request #56 from Nihu-Sharma/#25k73ff
Browse files Browse the repository at this point in the history
Added time-outline icon for timezone(#25k73ff)
  • Loading branch information
adityasharma7 authored Apr 8, 2022
2 parents cf511c9 + 41a94be commit 1a51923
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<p slot="end">{{ instanceUrl }}</p>
</ion-item>
<ion-item>
<ion-icon :icon="timeOutline" slot="start"/>
<ion-label> {{ userProfile && userProfile.userTimeZone ? userProfile.userTimeZone : '-' }} </ion-label>
<ion-button @click="changeTimeZone()" slot="end" fill="outline" color="dark">{{ $t("Change") }}</ion-button>
</ion-item>
Expand All @@ -35,7 +36,7 @@
</template>

<script lang="ts">
import { codeWorkingOutline } from 'ionicons/icons'
import { codeWorkingOutline, timeOutline } from 'ionicons/icons'
import { useStore } from "@/store";
import {
IonButton,
Expand Down Expand Up @@ -73,7 +74,7 @@ export default defineComponent({
},
setup() {
const store = useStore();
return { store, codeWorkingOutline }
return { store, codeWorkingOutline, timeOutline }
},
data() {
return {
Expand Down

0 comments on commit 1a51923

Please sign in to comment.