adata-ui 2.0.72 → 2.0.74
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.
|
@@ -5,9 +5,9 @@ import * as z from 'zod'
|
|
|
5
5
|
import { useUrls } from '#adata-ui/composables/useUrls'
|
|
6
6
|
|
|
7
7
|
const { $toast } = useNuxtApp()
|
|
8
|
-
const {
|
|
8
|
+
const { commonAuth } = useAppConfig()
|
|
9
9
|
const { t, locale } = useI18n()
|
|
10
|
-
const { pk,
|
|
10
|
+
const { pk, landing } = useUrls()
|
|
11
11
|
|
|
12
12
|
const regex = /^\/counterparty\/main\/company\/\d+\/basic-info$/;
|
|
13
13
|
|
|
@@ -174,7 +174,7 @@ function onRegister() {
|
|
|
174
174
|
function toTariffs() {
|
|
175
175
|
return navigateToLocalizedPage({
|
|
176
176
|
locale,
|
|
177
|
-
projectUrl:
|
|
177
|
+
projectUrl: landing,
|
|
178
178
|
path: '/tariffs',
|
|
179
179
|
target: '_self',
|
|
180
180
|
})
|
|
@@ -158,7 +158,7 @@ onBeforeMount(() => {
|
|
|
158
158
|
<nav class="hidden items-center gap-4 lg:flex">
|
|
159
159
|
<nuxt-link-locale
|
|
160
160
|
aria-label="Adata-logo"
|
|
161
|
-
:to="buildLocalizedUrl(locale,
|
|
161
|
+
:to="buildLocalizedUrl(locale, urls.landing)"
|
|
162
162
|
class="text-deepblue cursor-pointer dark:text-[#E3E5E8]"
|
|
163
163
|
@click="goToAnotherModule"
|
|
164
164
|
>
|
package/composables/useUrls.ts
CHANGED
|
@@ -11,7 +11,7 @@ export function useUrls() {
|
|
|
11
11
|
zakupki: `https://zakupki.${mode}.kz`,
|
|
12
12
|
avto: `https://avto.${mode}.kz`,
|
|
13
13
|
analytics: `https://analytics.${mode}.kz`,
|
|
14
|
-
analyticsNew: `https://analytics-new
|
|
14
|
+
analyticsNew: `https://analytics-new.${mode}.kz`,
|
|
15
15
|
tnved: `https://tnved.${mode}.kz`,
|
|
16
16
|
edo: `https://edo.${mode}.kz`,
|
|
17
17
|
compliance: `https://ac.${mode}.kz/compliance`,
|