mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
adding multiple group now working
This commit is contained in:
parent
3b8393c996
commit
a90fd30c4a
3 changed files with 8 additions and 5 deletions
|
|
@ -357,8 +357,8 @@ export const createFormStore = (storeName, formType) => {
|
|||
_getPluginSettingsValue(value, formattedData.value);
|
||||
_getPluginMultiplesValue(value, formattedData.value);
|
||||
}
|
||||
|
||||
isUpdateData.value = Object.keys(formattedData.value).length > 0;
|
||||
isUpdateData.value =
|
||||
Object.keys(formattedData.value).length > 0 ? true : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -372,7 +372,9 @@ export const createFormStore = (storeName, formType) => {
|
|||
if (!value?.multiples) return;
|
||||
for (const [multName, multGroups] of Object.entries(value.multiples)) {
|
||||
for (const [groupName, group] of Object.entries(multGroups)) {
|
||||
_checkSettingToAddValue(group, groupName);
|
||||
for (const [settName, setting] of Object.entries(group)) {
|
||||
_checkSettingToAddValue(setting, settName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -431,6 +433,7 @@ export const createFormStore = (storeName, formType) => {
|
|||
templateUI,
|
||||
templateUIFormat,
|
||||
rawData,
|
||||
isUpdateData,
|
||||
setTemplate,
|
||||
setRawData,
|
||||
addMultiple,
|
||||
|
|
|
|||
2
src/ui/templates/global-config.html
vendored
2
src/ui/templates/global-config.html
vendored
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="stylesheet" href="css/flag-icons.min.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>BunkerWeb | Global config</title>
|
||||
<script type="module" crossorigin nonce="{{ script_nonce }}" src="assets/global_config-WMS8GSXH.js"></script>
|
||||
<script type="module" crossorigin nonce="{{ script_nonce }}" src="assets/global_config-sP0XfldY.js"></script>
|
||||
<link rel="modulepreload" crossorigin nonce="{{ script_nonce }}" href="assets/Title-Dk3fE87D.js">
|
||||
<link rel="modulepreload" crossorigin nonce="{{ script_nonce }}" href="assets/Subtitle-EK-_CGmV.js">
|
||||
<link rel="modulepreload" crossorigin nonce="{{ script_nonce }}" href="assets/Text-CrOYIQ2t.js">
|
||||
|
|
|
|||
2
src/ui/templates/jobs.html
vendored
2
src/ui/templates/jobs.html
vendored
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="stylesheet" href="css/flag-icons.min.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>BunkerWeb | Jobs</title>
|
||||
<script type="module" crossorigin nonce="{{ script_nonce }}" src="assets/jobs-BiZruuR5.js"></script>
|
||||
<script type="module" crossorigin nonce="{{ script_nonce }}" src="assets/jobs-fcsA3eYf.js"></script>
|
||||
<link rel="modulepreload" crossorigin nonce="{{ script_nonce }}" href="assets/Title-Dk3fE87D.js">
|
||||
<link rel="modulepreload" crossorigin nonce="{{ script_nonce }}" href="assets/Text-CrOYIQ2t.js">
|
||||
<link rel="modulepreload" crossorigin nonce="{{ script_nonce }}" href="assets/Filter-ByMTlYtF.js">
|
||||
|
|
|
|||
Loading…
Reference in a new issue