Skip to content

Commit

Permalink
Replace DASHES with single dash
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Jun 12, 2019
1 parent cd9a4d4 commit 4b08e86
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as _ from 'lodash-es';

import {
getTemplateOperatingSystems,
DASHES,
getTemplateFlavors,
TemplateSource,
} from 'kubevirt-web-ui-components';
Expand Down Expand Up @@ -66,14 +65,14 @@ const VmTemplateRow = ({ obj: template }: React.ComponentProps<typeof ResourceRo
/>
</div>
<div className={mainRowStyle}>
{_.get(template.metadata, 'annotations.description', DASHES)}
{_.get(template.metadata, 'annotations.description', '-')}
</div>
<div className={otherRowStyle}>
<div className="co-resource-list__item--templateSource">
<TemplateSource template={template} />
</div>
</div>
<div className={otherRowStyle}>{os ? os.name || os.id : DASHES}</div>
<div className={otherRowStyle}>{os ? os.name || os.id : '-'}</div>
<div className={otherRowStyle}>{getTemplateFlavors([template])[0]}</div>
</ResourceRow>
);
Expand Down

0 comments on commit 4b08e86

Please sign in to comment.