Add a shortcut to the banner editor.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="creatorProfileStore.creator?.id === brandingStore.value.id" class="flex justify-end space-x-2 mb-5 pa-1">
|
<div v-if="creatorProfileStore.creator?.id === brandingStore.value.id" class="flex justify-end space-x-2 mb-5 pa-1">
|
||||||
|
|
||||||
<!-- Bouton principal : Éditer ou Enregistrer -->
|
<!-- Bouton principal : Éditer ou Enregistrer -->
|
||||||
<button
|
<button
|
||||||
v-if="isLoggedIn"
|
v-if="isLoggedIn"
|
||||||
@@ -10,6 +11,18 @@
|
|||||||
{{ isEditMode ? 'Enregistrer' : 'Éditer la page' }}
|
{{ isEditMode ? 'Enregistrer' : 'Éditer la page' }}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<router-link to="/profile"><button
|
||||||
|
v-if="isLoggedIn"
|
||||||
|
|
||||||
|
class="px-4 py-2 rounded-md hover:opacity-90"
|
||||||
|
:style="{ backgroundColor: brandingStore.colors.secondary, color: brandingStore.colors.onSecondary }"
|
||||||
|
>
|
||||||
|
Éditer la banière
|
||||||
|
</button></router-link>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<button
|
<button
|
||||||
v-if="isEditMode && isLoggedIn"
|
v-if="isEditMode && isLoggedIn"
|
||||||
@click="cancelEdit"
|
@click="cancelEdit"
|
||||||
|
|||||||
Reference in New Issue
Block a user