@madgex/fert 7.0.4 → 7.0.6
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/bin/utils/index.js
CHANGED
|
@@ -26,7 +26,7 @@ export async function getConfig(cpid, configNames = []) {
|
|
|
26
26
|
for (let config of configNames) {
|
|
27
27
|
const url = CONFIG_API.replace('{cpid}', cpid).replace('{config}', config);
|
|
28
28
|
const { data } = await fetch(url).then((response) => response.json());
|
|
29
|
-
const { value } = data[0];
|
|
29
|
+
const { value } = data?.[0] || {};
|
|
30
30
|
|
|
31
31
|
result[config] = value;
|
|
32
32
|
}
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{% include templatePath + './includes/footer-nav.njk' %}
|
|
14
14
|
|
|
15
15
|
<p class="copyright no-margin">
|
|
16
|
-
© 2008 -
|
|
16
|
+
© 2008 - {{ dayjs().format('YYYY') }} bigworkbag.com, all rights reserved. Powered by Madgex Job Board Software
|
|
17
17
|
</p>
|
|
18
18
|
</div>
|
|
19
19
|
</footer>
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
|
|
61
61
|
<div class="wrapper cf">
|
|
62
62
|
<div class="primary-logo">
|
|
63
|
-
<a href="/"
|
|
64
|
-
<img src="/public/images/logo.png"
|
|
63
|
+
<a href="/">
|
|
64
|
+
<img src="/public/images/logo.png" alt="Bigworkbag Home"/>
|
|
65
65
|
</a>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<link rel="stylesheet" href="/public/tokens/css-vars/variables.css">
|
|
8
8
|
<link rel="stylesheet" href="/design-system.css">
|
|
9
|
-
<script src="/design-system.js"></script>
|
|
9
|
+
<script type="module" src="/design-system.js"></script>
|
|
10
10
|
{%- for link in fertConfig.externalAssets.links %}
|
|
11
11
|
<link {%- for key, value in link %} {{ key }}="{{ value }}" {%- endfor %}/>
|
|
12
12
|
{%- endfor -%}
|