Skip to content

fix(server): toc can be published logic

Pokhi requested to merge fix/1078-toc-publish-validation into develop

Targets: #1078 (closed)

Changes proposed

  1. Moved logic to compute toc validation from frontend to backend
  2. Created a new method canBePublished in Toc to encapsulate the logic to compute whether Toc can be published or not
  3. Used the same canBePublished for both backend and frontend validation
Edited by Pokhi

Merge request reports