Skip to content

Commit

Permalink
fix(gui): add server version indicator to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 18, 2023
1 parent d402db8 commit 7b49b55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gui/src/components/Settings.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { mustExist } from '@apextoaster/js-utils';
import { Refresh } from '@mui/icons-material';
import { Button, Stack, TextField } from '@mui/material';
import { Alert, Button, Chip, Stack, TextField } from '@mui/material';
import * as React from 'react';
import { useContext, useState } from 'react';
import { useStore } from 'zustand';
Expand Down Expand Up @@ -43,6 +43,9 @@ export function Settings() {
query.set('api', root);
window.location.search = query.toString();
}} />
<Alert variant='outlined' severity='success'>
{config.params.version}
</Alert>
</Stack>
<Stack direction='row' spacing={2}>
<Button onClick={() => state.resetTxt2Img()}>Reset Txt2Img</Button>
Expand Down

0 comments on commit 7b49b55

Please sign in to comment.