mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
6 lines
203 B
TypeScript
6 lines
203 B
TypeScript
import { isDesign, Workspace } from '../models/workspace';
|
|
import { strings } from './strings';
|
|
|
|
export const getWorkspaceLabel = (w: Workspace) =>
|
|
isDesign(w) ? strings.document : strings.collection;
|