[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:
parent
0b53912295
commit
d08c03f557
20 changed files with 157 additions and 162 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue