This commit is contained in:
2025-06-17 15:31:01 +05:00
parent facb76e904
commit 8b8883bb0d
13 changed files with 126 additions and 71 deletions
+18 -18
View File
@@ -226,26 +226,26 @@ export default function CreateSessionModal({ targetServerId }: Props) {
</div>
</div>
)}
<Button
type="submit"
disabled={
!ref.current?.checkValidity() ||
!selectedServer ||
!selectedApp ||
servers?.find((server) => server.id === selectedServer?.id)
?.sessions?.[0]?.status === "ending"
}
variant="cta"
size="large"
className="sticky bottom-0"
>
<div className="rounded-full bg-[#9184F6] in-disabled:bg-transparent px-[0.278vw] py-[0.208vw] size-[1.111vw]">
<div className="w-[0.694vw] h-[0.556vw]">
<div className="flex-1 flex flex-col justify-end">
<Button
type="submit"
disabled={
!ref.current?.checkValidity() ||
!selectedServer ||
!selectedApp ||
servers?.find((server) => server.id === selectedServer?.id)
?.sessions?.[0]?.status === "ending"
}
variant="cta"
size="large"
className="sticky bottom-0"
>
<div className="size-[1.111vw]">
<StartSessionIcon />
</div>
</div>
<p>Запустить сеанс</p>
</Button>
<span>Запустить сеанс</span>
</Button>
</div>
</div>
</form>
);
+1 -1
View File
@@ -18,7 +18,7 @@ function EditTable({ table }: { table: Server }) {
return api.put(`servers/${table.id}`, {
json: {
name: tableName,
location: tableDescription,
description: tableDescription,
},
});
},