Merge branch 'dev'
This commit is contained in:
commit
dd9b1bff83
|
|
@ -970,7 +970,7 @@ export class RStackSpaceSwitcher extends HTMLElement {
|
||||||
html += `
|
html += `
|
||||||
<div class="scope-row">
|
<div class="scope-row">
|
||||||
<span class="scope-label">Data scope:</span>
|
<span class="scope-label">Data scope:</span>
|
||||||
<select class="scope-select" data-mod-id="${m.id}">
|
<select class="scope-select data-scope-select" data-mod-id="${m.id}">
|
||||||
<option value="space" ${m.scoping.currentScope === "space" ? "selected" : ""}>Space</option>
|
<option value="space" ${m.scoping.currentScope === "space" ? "selected" : ""}>Space</option>
|
||||||
<option value="global" ${m.scoping.currentScope === "global" ? "selected" : ""}>Global</option>
|
<option value="global" ${m.scoping.currentScope === "global" ? "selected" : ""}>Global</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
@ -1068,7 +1068,7 @@ export class RStackSpaceSwitcher extends HTMLElement {
|
||||||
|
|
||||||
// Collect scope overrides
|
// Collect scope overrides
|
||||||
const scopeOverrides: Record<string, string> = {};
|
const scopeOverrides: Record<string, string> = {};
|
||||||
container.querySelectorAll(".scope-select").forEach((sel) => {
|
container.querySelectorAll(".data-scope-select").forEach((sel) => {
|
||||||
const el = sel as HTMLSelectElement;
|
const el = sel as HTMLSelectElement;
|
||||||
scopeOverrides[el.dataset.modId!] = el.value;
|
scopeOverrides[el.dataset.modId!] = el.value;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue