spring-cloud / spring-cloud-dataflow-ui

@@ -625,14 +625,14 @@
Loading
625 625
   * @param {string} appId
626 626
   * @returns {Array}
627 627
   */
628 -
  getDeploymentProperties(builderDeploymentProperties: {global: [], apps: {}}, appId?: string): Array<{ key: string, value: string }> {
628 +
  getDeploymentProperties(builderDeploymentProperties: {global: any[], apps: any}, appId?: string): Array<{ key: string, value: any }> {
629 629
    const deploymentProperties = appId ? builderDeploymentProperties.apps[appId] : builderDeploymentProperties.global;
630 630
    if (!deploymentProperties) {
631 631
      return [];
632 632
    }
633 633
634 634
    return deploymentProperties.map((property: Properties.Property) => {
635 -
      if (property.value && property.value !== undefined && property.value.toString() !== ''
635 +
      if (property.value !== null && property.value !== undefined && property.value.toString() !== ''
636 636
        && property.value !== property.defaultValue) {
637 637
        return {
638 638
          key: `${property.id}`,
@@ -704,13 +704,13 @@
Loading
704 704
   * @param {string} appId
705 705
   * @returns {Array}
706 706
   */
707 -
  getAppProperties(builderAppsProperties: {}, appId: string): Array<{ key: string, value: string }> {
707 +
  getAppProperties(builderAppsProperties: {}, appId: string): Array<{ key: string, value: any }> {
708 708
    const appProperties = builderAppsProperties[appId];
709 709
    if (!appProperties) {
710 710
      return [];
711 711
    }
712 712
    return appProperties.map((property: Properties.Property) => {
713 -
      if (property.value && property.value !== undefined && property.value.toString() !== ''
713 +
      if (property.value !== null && property.value !== undefined && property.value.toString() !== ''
714 714
        && property.value !== property.defaultValue) {
715 715
        if (property.id.startsWith(`${appId}.`)) {
716 716
          return {
Files Coverage
ui/src 72.80%
Project Totals (244 files) 72.80%
1913.1
TRAVIS_JDK_VERSION=oraclejdk8
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading