feat: setting all system privacy settings to a single value
This commit is contained in:
parent
1034535097
commit
61fb53b94b
File diff suppressed because one or more lines are too long
@ -32,7 +32,7 @@
|
|||||||
}(window.location))
|
}(window.location))
|
||||||
</script>
|
</script>
|
||||||
<!-- End Single Page Apps for GitHub Pages -->
|
<!-- End Single Page Apps for GitHub Pages -->
|
||||||
<script type="module" crossorigin src="/assets/main.d79280e1.js"></script>
|
<script type="module" crossorigin src="/assets/main.6fb586f3.js"></script>
|
||||||
<link rel="modulepreload" href="/assets/vendor.a3039f12.js">
|
<link rel="modulepreload" href="/assets/vendor.a3039f12.js">
|
||||||
<link rel="stylesheet" href="/assets/vendor.484ba9db.css">
|
<link rel="stylesheet" href="/assets/vendor.484ba9db.css">
|
||||||
<link rel="stylesheet" href="/assets/main.4f449199.css">
|
<link rel="stylesheet" href="/assets/main.4f449199.css">
|
||||||
|
@ -31,11 +31,25 @@
|
|||||||
loading = false;
|
loading = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let allPrivacy: string;
|
||||||
|
|
||||||
|
$: { changePrivacy(allPrivacy)}
|
||||||
|
|
||||||
|
function changePrivacy(value: string) {
|
||||||
|
if (value) {
|
||||||
|
input.privacy.description_privacy = value;
|
||||||
|
input.privacy.member_list_privacy = value;
|
||||||
|
input.privacy.group_list_privacy = value;
|
||||||
|
input.privacy.front_privacy = value;
|
||||||
|
input.privacy.front_history_privacy = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Label><b>Set all to:</b></Label>
|
<Label><b>Set all to:</b></Label>
|
||||||
<Input type="select" bind:value={input.privacy.description_privacy}>
|
<Input type="select" bind:value={allPrivacy}>
|
||||||
<option default>public</option>
|
<option>public</option>
|
||||||
<option>private</option>
|
<option>private</option>
|
||||||
</Input>
|
</Input>
|
||||||
<hr />
|
<hr />
|
||||||
|
Loading…
Reference in New Issue
Block a user