fix: update to match new api models
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-02-25 15:04:13 +00:00
parent 8758116520
commit fd1df3ce3d
3 changed files with 8 additions and 24 deletions

View File

@ -22,10 +22,6 @@ export default function VpsPayButton({ spec }: { spec: VmTemplate }) {
return <div className={`${classNames} bg-red-900`}>{inner}</div>;
}
if (!spec.enabled) {
return placeholder("Unavailable");
}
if (!login) {
return placeholder("Please Login");
}