mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 17:20:14 +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">
|
<script lang="ts">
|
||||||
import Sys from '../../api/system';
|
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 { currentUser } from '../../stores';
|
||||||
import PKAPI from '../../api';
|
import PKAPI from '../../api';
|
||||||
|
|
||||||
|
|
@ -47,6 +47,9 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
{#if err}
|
||||||
|
<Alert color="danger">{err}</Alert>
|
||||||
|
{/if}
|
||||||
<Label><b>Set all to:</b></Label>
|
<Label><b>Set all to:</b></Label>
|
||||||
<Input type="select" bind:value={allPrivacy}>
|
<Input type="select" bind:value={allPrivacy}>
|
||||||
<option>public</option>
|
<option>public</option>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue