mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-19 01:25:06 +00:00
oops forgot to add downgrade warning to PluginCard
This commit is contained in:
parent
a30539494c
commit
cf4f85f1bd
1 changed files with 6 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ import API from '../../api';
|
|||
import PluginDetailPanel from '../PluginDetailPanel.jsx';
|
||||
import { compareVersions } from '../pluginUtils.js';
|
||||
import {
|
||||
PluginDowngradeWarning,
|
||||
PluginSecurityWarning,
|
||||
PluginSupportDisclaimer,
|
||||
} from '../PluginWarnings.jsx';
|
||||
|
|
@ -662,6 +663,11 @@ const PluginCard = ({
|
|||
APIs, or perform unwanted actions.
|
||||
</PluginSecurityWarning>
|
||||
<PluginSupportDisclaimer />
|
||||
{isDown && (
|
||||
<PluginDowngradeWarning>
|
||||
Downgrading may cause issues with saved settings or data.
|
||||
</PluginDowngradeWarning>
|
||||
)}
|
||||
<Text size="sm" fw={500}>Are you sure you want to proceed?</Text>
|
||||
<Group justify="flex-end" gap="xs">
|
||||
<Button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue