mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: add an alert for errors with system privacy editing
This commit is contained in:
parent
1bae83a49e
commit
63ae9eaa1d
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import Sys from '../../api/system';
|
||||
import { Input, Row, Col, Button, Label } from 'sveltestrap';
|
||||
import { Input, Row, Col, Button, Label, Alert } from 'sveltestrap';
|
||||
import { currentUser } from '../../stores';
|
||||
import PKAPI from '../../api';
|
||||
|
||||
|
|
@ -47,6 +47,9 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
{#if err}
|
||||
<Alert color="danger">{err}</Alert>
|
||||
{/if}
|
||||
<Label><b>Set all to:</b></Label>
|
||||
<Input type="select" bind:value={allPrivacy}>
|
||||
<option>public</option>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue