[WEB-3203] fix: dashboard widgets' empty state content and assets (#6450)

* fix: empty state content

* chore: replace margin with padding
This commit is contained in:
Aaryan Khandelwal 2025-01-24 15:23:41 +05:30 committed by GitHub
parent 0b53912295
commit d08c03f557
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 157 additions and 162 deletions

View file

@ -16,6 +16,7 @@ import {
TSearchResponse,
TSearchEntityRequestPayload,
TWidgetEntityData,
TActivityEntityData,
} from "@plane/types";
import { APIService } from "@/services/api.service";
// helpers
@ -282,7 +283,7 @@ export class WorkspaceService extends APIService {
});
}
// quick links
// quicklinks
async fetchWorkspaceLinks(workspaceSlug: string): Promise<TLink[]> {
return this.get(`/api/workspaces/${workspaceSlug}/quick-links/`)
.then((response) => response?.data)
@ -329,7 +330,7 @@ export class WorkspaceService extends APIService {
}
// recents
async fetchWorkspaceRecents(workspaceSlug: string, entity_name?: string) {
async fetchWorkspaceRecents(workspaceSlug: string, entity_name?: string): Promise<TActivityEntityData[]> {
return this.get(`/api/workspaces/${workspaceSlug}/recent-visits/`, {
params: {
entity_name,