ui fixes
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
@@ -18,7 +18,7 @@ function EditTable({ table }: { table: Server }) {
|
||||
return api.put(`servers/${table.id}`, {
|
||||
json: {
|
||||
name: tableName,
|
||||
location: tableDescription,
|
||||
description: tableDescription,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user