Skip to content

Commit

Permalink
Added --documentNumber option to icd-db and field to PDF options popu…
Browse files Browse the repository at this point in the history
…p to specify optional document number to display under the subtitle in the generated PDF.
  • Loading branch information
abrighton committed Nov 11, 2022
1 parent 6768ba1 commit 805dc54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion icd-db/src/main/scala/csw/services/icd/PdfCache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ class PdfCache(cacheDir: File) {
sv.maybeComponent.isEmpty &&
!clientApi &&
!searchAllSubsystems &&
pdfOptions.details
pdfOptions.details &&
pdfOptions.documentNumber.isEmpty
}

// Gets the file used to store the ICD between the two subsystem versions
Expand Down

0 comments on commit 805dc54

Please sign in to comment.