Adds exchange backend settings to AdminCenter

This commit is contained in:
Matthias Mair 2024-08-30 18:15:30 +02:00
parent c096f2f43a
commit e0795c04f9
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -7,6 +7,7 @@ import { useCallback, useMemo, useState } from 'react';
import { api } from '../../../../App'; import { api } from '../../../../App';
import { ActionButton } from '../../../../components/buttons/ActionButton'; import { ActionButton } from '../../../../components/buttons/ActionButton';
import { FactCollection } from '../../../../components/settings/FactCollection'; import { FactCollection } from '../../../../components/settings/FactCollection';
import { GlobalSettingList } from '../../../../components/settings/SettingList';
import { ApiEndpoints } from '../../../../enums/ApiEndpoints'; import { ApiEndpoints } from '../../../../enums/ApiEndpoints';
import { useTable } from '../../../../hooks/UseTable'; import { useTable } from '../../../../hooks/UseTable';
import { apiUrl } from '../../../../states/ApiState'; import { apiUrl } from '../../../../states/ApiState';
@ -101,6 +102,10 @@ export default function CurrencyManagmentPanel() {
/> />
<Divider /> <Divider />
<CurrencyTable setInfo={setInfo} /> <CurrencyTable setInfo={setInfo} />
<Divider />
<GlobalSettingList
keys={['CURRENCY_UPDATE_PLUGIN', 'CURRENCY_UPDATE_INTERVAL']}
/>
</Stack> </Stack>
); );
} }