refactor: better implimentation for slots
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
<button v-tooltip="$t('choose_language')" class="icon button">
|
||||
<i class="material-icons">translate</i>
|
||||
</button>
|
||||
<template slot="popover">
|
||||
<template #popover>
|
||||
<div v-for="locale in availableLocales" :key="locale.code">
|
||||
<nuxt-link :to="switchLocalePath(locale.code)">
|
||||
<button v-close-popover class="icon button">
|
||||
|
||||
Reference in New Issue
Block a user