cost: Number()

in source/frontend/src/API/NodeFactory/NodeFactory.js [27:49]


        cost: Number(0),
        hasChildren: node.children ? true : false,
        children: node.children,
        accountColour: getAccountColour(
          node.type === 'account' ? node.label : 'global'
        ),
        regionColour: getRegionColour(
          node.type === 'region' ? node.label : 'Multi-Region'
        ),
        aZColour: '#00A1C9',
        subnetColour: node.data
          ? node.data.properties.private
            ? '#147eba'
            : '#248814'
          : '#545B64',
      },
      classes: [`${node.type}`, 'removeAll'],
    };

    if (node.data) {
      // boundingBox.data.image = fetchImage(node.data.properties);
      boundingBox.data.properties = node.data.properties;
      boundingBox.data.resource = {