@finema/finework-layer 2.0.2 → 2.0.3
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.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.2...2.0.3) (2026-06-30)
|
|
4
|
+
|
|
3
5
|
## [2.0.2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.1...2.0.2) (2026-06-30)
|
|
4
6
|
|
|
5
7
|
## [2.0.1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.88...2.0.1) (2026-06-29)
|
|
@@ -165,7 +165,27 @@
|
|
|
165
165
|
class="mb-4 flex flex-col justify-between gap-1 md:mb-6 md:gap-4 lg:flex-row lg:items-start"
|
|
166
166
|
>
|
|
167
167
|
<div class="flex flex-1 flex-col">
|
|
168
|
+
<Button
|
|
169
|
+
v-if="backTo"
|
|
170
|
+
class="flex items-center gap-1 p-0"
|
|
171
|
+
:to="backTo"
|
|
172
|
+
variant="link"
|
|
173
|
+
color="neutral"
|
|
174
|
+
>
|
|
175
|
+
<Icon
|
|
176
|
+
class="size-7"
|
|
177
|
+
name="ph:caret-left"
|
|
178
|
+
/>
|
|
179
|
+
<h1
|
|
180
|
+
class="text-3xl font-bold wrap-break-word lg:max-w-2/3"
|
|
181
|
+
:title="app.pageMeta.title"
|
|
182
|
+
>
|
|
183
|
+
{{ app.pageMeta.title }}
|
|
184
|
+
<span id="page-title-extra" />
|
|
185
|
+
</h1>
|
|
186
|
+
</Button>
|
|
168
187
|
<h1
|
|
188
|
+
v-else
|
|
169
189
|
class="text-3xl font-bold wrap-break-word lg:max-w-2/3"
|
|
170
190
|
:title="app.pageMeta.title"
|
|
171
191
|
>
|
|
@@ -250,4 +270,12 @@ const breadcrumbsItems = computed(() => {
|
|
|
250
270
|
...extra,
|
|
251
271
|
]
|
|
252
272
|
})
|
|
273
|
+
|
|
274
|
+
const backTo = computed(() => {
|
|
275
|
+
if (breadcrumbsItems.value.length >= 3) {
|
|
276
|
+
return breadcrumbsItems.value[breadcrumbsItems.value.length - 2]?.to
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
return undefined
|
|
280
|
+
})
|
|
253
281
|
</script>
|