Skip to content

Commit

Permalink
fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dt2patel authored Oct 15, 2023
1 parent a94c62a commit b2527f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
<ion-content>

<header>
<h1 class="title" slot="start">
<h1 class="title">
{{ $t('Launch Pad') }}
<ion-icon color="danger" :icon="rocketOutline" />
</h1>

<ion-item v-if="authStore.isAuthenticated" slot="end" lines="none">
<ion-item v-if="authStore.isAuthenticated" lines="none">
<ion-icon slot="start" :icon="lockClosedOutline"/>
<ion-label>
<p class="overline">{{ authStore.getOMS }}</p>
<h2>{{ authStore.current?.partyName ? authStore.current?.partyName : authStore.current.userLoginId }}</h2>
</ion-label>
<ion-button fill="outline" color="medium" slot="end" @click="authStore.logout()">{{ $t('Logout') }}</ion-button>
</ion-item>
<ion-button v-else slot="end" fill="outline" color="danger" @click="router.push('/login')">
<ion-button v-else fill="outline" color="danger" @click="router.push('/login')">
<ion-icon slot="start" :icon="personCircleOutline"/>
{{ $t('Login') }}
</ion-button>
Expand Down Expand Up @@ -175,7 +175,7 @@ export default defineComponent({
header {
display: flex;
justify-content: space-between;
padding-inline: var(--spacer-lg)
padding-inline: var(--spacer-lg);
align-items: center;
flex-wrap: wrap;
}
Expand Down

0 comments on commit b2527f9

Please sign in to comment.