From 5f014d204c144a356094e334d3108da4f80ded44 Mon Sep 17 00:00:00 2001
From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Date: Thu, 19 Oct 2023 17:24:10 +0530
Subject: [PATCH] fix: workspaces list not being fetched, display properties
endpoint updated (#2493)
* fix: workspaces list not being fetched
* style: truncate workspace name if length exceeds
---
web/components/workspace/sidebar-dropdown.tsx | 38 +++++++++----------
web/layouts/auth-layout/workspace-wrapper.tsx | 2 +
web/services/issue/issue.service.ts | 6 ++-
web/store/issue/issue_filters.store.ts | 4 +-
4 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/web/components/workspace/sidebar-dropdown.tsx b/web/components/workspace/sidebar-dropdown.tsx
index 6e50fc507cc..358629db6a6 100644
--- a/web/components/workspace/sidebar-dropdown.tsx
+++ b/web/components/workspace/sidebar-dropdown.tsx
@@ -17,8 +17,6 @@ import { Avatar } from "components/ui";
import { Loader } from "@plane/ui";
// icons
import { Check, LogOut, Plus, Settings, UserCircle2 } from "lucide-react";
-// helpers
-import { truncateText } from "helpers/string.helper";
// types
import { IWorkspace } from "types";
@@ -104,15 +102,15 @@ export const WorkspaceSidebarDropdown = observer(() => {
};
return (
-
-