fix(ui): Prevent service moving if volume is null for some reason
parent
b04dcef603
commit
4dae3404fa
|
@ -139,7 +139,9 @@ class _ServicePageState extends State<ServicePage> {
|
||||||
),
|
),
|
||||||
style: Theme.of(context).textTheme.bodyMedium,
|
style: Theme.of(context).textTheme.bodyMedium,
|
||||||
),
|
),
|
||||||
enabled: !serviceDisabled && !serviceLocked,
|
enabled: !serviceDisabled &&
|
||||||
|
!serviceLocked &&
|
||||||
|
service.storageUsage.volume != null,
|
||||||
),
|
),
|
||||||
if (service.canBeBackedUp)
|
if (service.canBeBackedUp)
|
||||||
ListTile(
|
ListTile(
|
||||||
|
|
Loading…
Reference in New Issue