From d686b6ced849082167cea1783f5a2a556b9929b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?=
Date: Sun, 12 Nov 2023 21:40:08 +0100
Subject: [PATCH] feat(front): add fw-buttons to playlist modal
---
front/src/components/playlists/Form.vue | 10 +++--
.../components/playlists/PlaylistModal.vue | 44 +++++++++++--------
2 files changed, 32 insertions(+), 22 deletions(-)
diff --git a/front/src/components/playlists/Form.vue b/front/src/components/playlists/Form.vue
index b935b8a28..f67437da4 100644
--- a/front/src/components/playlists/Form.vue
+++ b/front/src/components/playlists/Form.vue
@@ -6,6 +6,8 @@ import { ref, computed, onMounted, nextTick } from 'vue'
import { useI18n } from 'vue-i18n'
import { useStore } from '~/store'
+import { FwButton } from '@funkwhale/ui'
+
import axios from 'axios'
import $ from 'jquery'
@@ -173,8 +175,10 @@ const submit = async () => {
-
+
diff --git a/front/src/components/playlists/PlaylistModal.vue b/front/src/components/playlists/PlaylistModal.vue
index 19c6a9ae1..fff1f947d 100644
--- a/front/src/components/playlists/PlaylistModal.vue
+++ b/front/src/components/playlists/PlaylistModal.vue
@@ -11,6 +11,8 @@ import { useStore } from '~/store'
import { ref, computed, watch } from 'vue'
import { useRouter } from 'vue-router'
+import { FwButton } from '@funkwhale/ui'
+
const logger = useLogger()
const store = useStore()
@@ -113,18 +115,19 @@ store.dispatch('playlists/fetchOwn')
{{ duplicateTrackAddInfo.playlist_name }}
-
-
+
-
-
- {{ $t('components.playlists.PlaylistModal.button.edit') }}
-
+
|
|
{{ playlist.tracks_count }} |
-
+
|
@@ -235,9 +237,13 @@ store.dispatch('playlists/fetchOwn')
-
+