@kirby-tools/licensing 0.4.1 → 0.4.2
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.
|
@@ -59,22 +59,12 @@ async function handleRegistration() {
|
|
|
59
59
|
layout="collapsed"
|
|
60
60
|
>
|
|
61
61
|
<k-button
|
|
62
|
-
v-if="currentLicenseStatus === 'upgradeable'"
|
|
63
|
-
theme="notice"
|
|
64
|
-
variant="filled"
|
|
65
|
-
size="xs"
|
|
66
|
-
link="https://hub.kirby.tools"
|
|
67
|
-
target="_blank"
|
|
68
|
-
:text="t('upgrade')"
|
|
69
|
-
/>
|
|
70
|
-
<k-button
|
|
71
|
-
v-else
|
|
72
62
|
theme="love"
|
|
73
63
|
variant="filled"
|
|
74
64
|
size="xs"
|
|
75
|
-
:link="pricingUrl"
|
|
65
|
+
:link="currentLicenseStatus === 'upgradeable' ? 'https://hub.kirby.tools' : pricingUrl"
|
|
76
66
|
target="_blank"
|
|
77
|
-
:text="t('buy')"
|
|
67
|
+
:text="currentLicenseStatus === 'upgradeable' ? t('upgrade') : t('buy')"
|
|
78
68
|
/>
|
|
79
69
|
<k-button
|
|
80
70
|
theme="love"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirby-tools/licensing",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"packageManager": "pnpm@9.15.0",
|
|
6
6
|
"description": "Shared tooling for Kirby Tools licensing in the Kirby Panel",
|
|
7
7
|
"author": "Johann Schopplich <hello@johannschopplich.com>",
|