mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
Merge branch 'feat/dashboard' into feat/dashboard-accessibility
This commit is contained in:
commit
a2d500e536
1 changed files with 5 additions and 3 deletions
|
|
@ -26,9 +26,9 @@
|
||||||
|
|
||||||
if (savedSettings) {
|
if (savedSettings) {
|
||||||
settings = {...settings, ...savedSettings}
|
settings = {...settings, ...savedSettings}
|
||||||
};
|
}
|
||||||
|
|
||||||
let descriptions = apiConfig.description_templates;
|
let descriptions = apiConfig?.description_templates;
|
||||||
|
|
||||||
async function saveDescriptionTemplates() {
|
async function saveDescriptionTemplates() {
|
||||||
const res = await api().systems("@me").settings.patch({ data: { description_templates: descriptions } });
|
const res = await api().systems("@me").settings.patch({ data: { description_templates: descriptions } });
|
||||||
|
|
@ -95,6 +95,7 @@
|
||||||
</Card>
|
</Card>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
{#if apiConfig}
|
||||||
<Row>
|
<Row>
|
||||||
<Col class="mx-auto" xs={12} lg={11} xl={10}>
|
<Col class="mx-auto" xs={12} lg={11} xl={10}>
|
||||||
<Card class="mb-4">
|
<Card class="mb-4">
|
||||||
|
|
@ -121,6 +122,7 @@
|
||||||
</Card>
|
</Card>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
{/if}
|
||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
|
|
@ -131,4 +133,4 @@
|
||||||
textarea {
|
textarea {
|
||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue