Some small improvements

This commit is contained in:
Gregory Schier
2023-11-13 11:44:29 -08:00
parent 9a02b63a6b
commit 91074a35d8
3 changed files with 5 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ export const EnvironmentActionsDropdown = memo(function EnvironmentActionsDropdo
(e) => ({
key: e.id,
label: e.name,
rightSlot: e.id === activeEnvironment?.id ? <Icon icon="check" /> : undefined,
leftSlot: e.id === activeEnvironment?.id ? <Icon icon="check" /> : <Icon icon="empty" />,
onSelect: async () => {
if (e.id !== activeEnvironment?.id) {
routes.setEnvironment(e);