Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

184 B
Raw Blame
export const HAL_NEW_RESOURCE_ID = 'new';

export default function isNewResource(resource:{ id:string|null }):boolean {
  return !resource.id || resource.id === HAL_NEW_RESOURCE_ID;
}