@finema/finework-layer 2.0.19 → 2.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.20](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.19...2.0.20) (2026-07-31)
|
|
4
|
+
|
|
3
5
|
## [2.0.19](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.18...2.0.19) (2026-07-31)
|
|
4
6
|
|
|
5
7
|
## [2.0.18](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.17...2.0.18) (2026-07-31)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
16
|
<template #content>
|
|
17
|
-
<Card class="w-
|
|
17
|
+
<Card class="w-95">
|
|
18
18
|
<div class="mb-3 flex items-center justify-between">
|
|
19
19
|
<h3 class="text-base font-semibold">
|
|
20
20
|
Add bookmark
|
|
@@ -64,10 +64,11 @@
|
|
|
64
64
|
v-if="!isCreatingFolder"
|
|
65
65
|
class="flex gap-2"
|
|
66
66
|
>
|
|
67
|
-
<
|
|
67
|
+
<SelectMenu
|
|
68
68
|
v-if="folderOptions.length > 0"
|
|
69
69
|
v-model="folderId"
|
|
70
70
|
:items="folderOptions"
|
|
71
|
+
value-key="value"
|
|
71
72
|
placeholder="Folder"
|
|
72
73
|
size="lg"
|
|
73
74
|
class="flex-1"
|
|
@@ -190,10 +191,6 @@ const onFetchPreview = () => {
|
|
|
190
191
|
params: {
|
|
191
192
|
url: url.value,
|
|
192
193
|
},
|
|
193
|
-
}).then(() => {
|
|
194
|
-
if (!preview.data.value) return
|
|
195
|
-
if (!name.value) name.value = preview.data.value.name
|
|
196
|
-
thumbnailUrl.value = preview.data.value.favicon_url || preview.data.value.image_url || null
|
|
197
194
|
})
|
|
198
195
|
}
|
|
199
196
|
|
|
@@ -244,6 +241,12 @@ const onRemove = async () => {
|
|
|
244
241
|
isOpen.value = false
|
|
245
242
|
}
|
|
246
243
|
|
|
244
|
+
useWatchTrue(() => preview.status.isSuccess, () => {
|
|
245
|
+
if (!preview.data) return
|
|
246
|
+
name.value = preview.data.name
|
|
247
|
+
thumbnailUrl.value = preview.data.favicon_url || preview.data.image_url || null
|
|
248
|
+
})
|
|
249
|
+
|
|
247
250
|
useWatchTrue(() => bookmarks.add.status.isSuccess, () => {
|
|
248
251
|
bookmarks.fetchAll()
|
|
249
252
|
})
|