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))
|
||||
</script>
|
||||
<!-- 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="stylesheet" href="/assets/vendor.484ba9db.css">
|
||||
<link rel="stylesheet" href="/assets/main.4f449199.css">
|
||||
|
@ -31,11 +31,25 @@
|
||||
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>
|
||||
|
||||
<Label><b>Set all to:</b></Label>
|
||||
<Input type="select" bind:value={input.privacy.description_privacy}>
|
||||
<option default>public</option>
|
||||
<Input type="select" bind:value={allPrivacy}>
|
||||
<option>public</option>
|
||||
<option>private</option>
|
||||
</Input>
|
||||
<hr />
|
||||
|
Loading…
Reference in New Issue
Block a user