From f11d91bd6be87c1bf7bec3586ea1c6fb13fb8ae5 Mon Sep 17 00:00:00 2001 From: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com> Date: Mon, 14 Jul 2025 22:38:06 +0100 Subject: [PATCH] Add missing space to instances and users list --- packages/web_ui/src/components/InstancesPage.tsx | 6 +++--- packages/web_ui/src/components/UsersPage.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/web_ui/src/components/InstancesPage.tsx b/packages/web_ui/src/components/InstancesPage.tsx index c15243c5..8a7968e8 100644 --- a/packages/web_ui/src/components/InstancesPage.tsx +++ b/packages/web_ui/src/components/InstancesPage.tsx @@ -1,6 +1,6 @@ import React, { useContext, useState } from "react"; import { useNavigate } from "react-router-dom"; -import { Button, Form, Input, Modal, Select, Tooltip } from "antd"; +import { Button, Form, Input, Modal, Select, Space, Tooltip } from "antd"; import * as lib from "@clusterio/lib"; @@ -82,7 +82,7 @@ export default function InstancesPage() { return + extra={ {account.hasPermission("core.instance.create") && } {account.hasPermission("core.instance.start") && } - } + } /> diff --git a/packages/web_ui/src/components/UsersPage.tsx b/packages/web_ui/src/components/UsersPage.tsx index 40fafc7d..6f77f409 100644 --- a/packages/web_ui/src/components/UsersPage.tsx +++ b/packages/web_ui/src/components/UsersPage.tsx @@ -382,11 +382,11 @@ export default function UsersPage() { return + extra={ {account.hasPermission("core.user.create") ? : undefined} {account.hasAnyPermission("core.user.bulk_import", "core.user.bulk_export") ? : undefined} - } + } />