A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
fix: resolves minor UI issues
towfiqi28ae173a95e4
diff --git a/frontend/src/components/Plan/PlanSettings/PlanSourceSettings.tsx b/frontend/src/components/Plan/PlanSettings/PlanSourceSettings.tsxindex 66d81bb..7b3de45 100644--- a/frontend/src/components/Plan/PlanSettings/PlanSourceSettings.tsx+++ b/frontend/src/components/Plan/PlanSettings/PlanSourceSettings.tsx@@ -21,6 +21,7 @@ const PlanSourceSettings = ({ plan, onUpdate, error, isEditing }: PlanSourceSett...data.result.map((device: Device) => ({label: `${device.name} ${device.id === 'main' ? '(Main)' : ''}`,value: device.id,+ icon: device.id === 'main' ? 'computer' : 'computer-remote',// disabled: device.id === 'main' || device.connected ? false : true,})),);diff --git a/frontend/src/components/common/Icon/Icon.tsx b/frontend/src/components/common/Icon/Icon.tsxindex 0816826..4a6ec2a 100644--- a/frontend/src/components/common/Icon/Icon.tsx+++ b/frontend/src/components/common/Icon/Icon.tsx@@ -16,6 +16,14 @@ type IconWrapperProps = {const Icon = ({ type, color = 'currentColor', size = 16, title = '', classes = '' }: IconProps) => {return (<span className={`icon ${classes}`} title={title}>+ {type === 'logo' && (+ <IconWrapper size={size} viewBox="0 0 120 120">+ <path+ d="M71,5.08V20.17L109.12,2.61c0,.55.08,1,.08,1.35q0,32.1,0,64.19h0A49.21,49.21,0,1,1,35.53,25.48l34-19.65c.36-.21.74-.41,1.39-.76ZM60,40.87a27.35,27.35,0,1,0,19.3,8,27.32,27.32,0,0,0-19.3-8Z"+ fill={color}+ />+ </IconWrapper>+ )}{type === 'loading' && (<IconWrapper size={size} viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8a8 8 0 0 1-8 8z" opacity=".5" fill={color} />