From ddf4e24fba2e3f5c23fe20fa81a61fc1e5cbc414 Mon Sep 17 00:00:00 2001 From: Rafael Bardini Date: Sun, 25 Oct 2020 10:14:01 +0100 Subject: [PATCH] Only join project roles if defined Closes #6 --- partials/projects.hbs | 4 +++- tap-snapshots/test-render.js-TAP.test.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/partials/projects.hbs b/partials/projects.hbs index 9e49c5c..b36502e 100644 --- a/partials/projects.hbs +++ b/partials/projects.hbs @@ -13,7 +13,9 @@
- {{join roles}} + {{#if roles}} + {{join roles}} + {{/if}} {{#entity}} at {{.}} {{/entity}} diff --git a/tap-snapshots/test-render.js-TAP.test.js b/tap-snapshots/test-render.js-TAP.test.js index 672bb00..ef16698 100644 --- a/tap-snapshots/test-render.js-TAP.test.js +++ b/tap-snapshots/test-render.js-TAP.test.js @@ -358,7 +358,7 @@ section {
- Team lead, Designer + Team lead, Designer at Smoogle missdirection.example.com