mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-20 16:26:58 +00:00
Make vm state always accessible
This commit is contained in:
@@ -33,6 +33,11 @@ public class StorePauseAction implements ActionProvider {
|
||||
public String getIcon(DataStoreEntryRef<PauseableStore> store) {
|
||||
return "mdi2p-pause";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requiresValidStore() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,11 @@ public class StoreStartAction implements ActionProvider {
|
||||
public String getIcon(DataStoreEntryRef<StartableStore> store) {
|
||||
return "mdi2p-play";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requiresValidStore() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,11 @@ public class StoreStopAction implements ActionProvider {
|
||||
public String getIcon(DataStoreEntryRef<StoppableStore> store) {
|
||||
return "mdi2s-stop";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean requiresValidStore() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user