mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4249] Updates for doc review (#4454)
* [ADF-4249] Updates for doc review * [ADF-4249] Clarified text slightly
This commit is contained in:
committed by
Eugenio Romano
parent
34b5c5a1b3
commit
7fe066b068
@@ -403,6 +403,11 @@ export class SearchQueryBuilderService {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Encloses a label name with double quotes if it contains whitespace characters.
|
||||
* @param configLabel Original label text
|
||||
* @returns Label, possibly with quotes if it contains spaces
|
||||
*/
|
||||
getSupportedLabel(configLabel: string): string {
|
||||
const spaceInsideLabelIndex = configLabel.search(/\s/g);
|
||||
if (spaceInsideLabelIndex > -1) {
|
||||
|
Reference in New Issue
Block a user