cec-nuxt-lib 0.7.3 → 0.7.5
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/dist/module.json
CHANGED
|
@@ -5,6 +5,9 @@ import { useState } from '#app';
|
|
|
5
5
|
const searchTerm = useState('searchTerm', () => 'Enter keywords:');
|
|
6
6
|
const showSiteSearch = useState('showSiteSearch');
|
|
7
7
|
const questions = useState('questions');
|
|
8
|
+
const baseUrl = useState('baseUrl');
|
|
9
|
+
const title = useState('title');
|
|
10
|
+
const path = useState('path');
|
|
8
11
|
|
|
9
12
|
const regex =
|
|
10
13
|
/^https:\/\/digital-core\.cheshireeast\.gov\.uk(?!.*(?:&pagePath|&pageTitle|login)).*$/;
|
|
@@ -257,7 +260,7 @@ onMounted(() => {
|
|
|
257
260
|
li.innerHTML = qTop.question[el].question;
|
|
258
261
|
if (i !== qTop.stack.length - 1 || display.innerText.length) {
|
|
259
262
|
li.classList.add('fakeLink');
|
|
260
|
-
li.onclick = () => goto(id,
|
|
263
|
+
li.onclick = () => goto(id, el, false);
|
|
261
264
|
}
|
|
262
265
|
breadcrumb.appendChild(li);
|
|
263
266
|
});
|
package/package.json
CHANGED