route issue fix

This commit is contained in:
payalDholakiya
2022-01-11 17:27:55 +05:30
parent 6ef2553423
commit 147be77859

View File

@ -82,16 +82,15 @@
/>
</MenuButton>
</template>
<BaseDropdownItem
@click="$router.push({ name: 'customer.profile' })"
>
<router-link :to="{ name: 'customer.profile' }">
<BaseDropdownItem>
<CogIcon
class="w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"
aria-hidden="true"
/>
{{ $t('navigation.settings') }}
</BaseDropdownItem>
</router-link>
<BaseDropdownItem @click="logout">
<LogoutIcon