cat-documents-ng 0.5.20 → 0.5.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,7 +20,7 @@ export declare class TablePrimaryComponent implements OnChanges {
|
|
|
20
20
|
getVisibleColumnCount(): number;
|
|
21
21
|
/**
|
|
22
22
|
* Formats document display name based on whether aliasName exists:
|
|
23
|
-
* - Without aliasName:
|
|
23
|
+
* - Without aliasName: fileName on top, docName below
|
|
24
24
|
* - With aliasName: aliasName on top, docName - fileName below
|
|
25
25
|
* @param rowData The row data containing docName, aliasName, and fileName
|
|
26
26
|
* @returns HTML string with proper formatting
|
|
@@ -5835,7 +5835,7 @@ class TablePrimaryComponent {
|
|
|
5835
5835
|
}
|
|
5836
5836
|
/**
|
|
5837
5837
|
* Formats document display name based on whether aliasName exists:
|
|
5838
|
-
* - Without aliasName:
|
|
5838
|
+
* - Without aliasName: fileName on top, docName below
|
|
5839
5839
|
* - With aliasName: aliasName on top, docName - fileName below
|
|
5840
5840
|
* @param rowData The row data containing docName, aliasName, and fileName
|
|
5841
5841
|
* @returns HTML string with proper formatting
|
|
@@ -5853,14 +5853,14 @@ class TablePrimaryComponent {
|
|
|
5853
5853
|
}
|
|
5854
5854
|
}
|
|
5855
5855
|
else {
|
|
5856
|
-
// Without aliasName:
|
|
5857
|
-
if (rowData.docName) {
|
|
5858
|
-
displayName += `<span class="document-info">${rowData.docName}</span>`;
|
|
5859
|
-
}
|
|
5856
|
+
// Without aliasName: fileName on top, docName below
|
|
5860
5857
|
if (rowData.fileName) {
|
|
5858
|
+
displayName += `<span class="document-info">${rowData.fileName}</span>`;
|
|
5859
|
+
}
|
|
5860
|
+
if (rowData.docName) {
|
|
5861
5861
|
if (displayName)
|
|
5862
5862
|
displayName += '<br>';
|
|
5863
|
-
displayName += `<span class="document-info">${rowData.
|
|
5863
|
+
displayName += `<span class="document-info">${rowData.docName}</span>`;
|
|
5864
5864
|
}
|
|
5865
5865
|
}
|
|
5866
5866
|
return displayName;
|