diff --git a/ui-v2/.gitignore b/ui-v2/.gitignore index a76bc38188..8496799743 100644 --- a/ui-v2/.gitignore +++ b/ui-v2/.gitignore @@ -8,3 +8,5 @@ /yarn-error.log /testem.log +/public/consul-api-double + diff --git a/ui-v2/GNUmakefile b/ui-v2/GNUmakefile index 9b5cb8ba9b..49ac334569 100644 --- a/ui-v2/GNUmakefile +++ b/ui-v2/GNUmakefile @@ -13,3 +13,18 @@ format: yarn run format:js .PHONY: server dist lint format + +.DEFAULT_GOAL=all +.PHONY: deps test all build start +all: deps +deps: node_modules yarn.lock package.json +node_modules: + yarn +build: + yarn run build +start: + yarn run start +test: + yarn run test +test-view: + yarn run test:view diff --git a/ui-v2/app/templates/components/tabular-collection.hbs b/ui-v2/app/templates/components/tabular-collection.hbs index 5acb52bbae..313ae645fe 100644 --- a/ui-v2/app/templates/components/tabular-collection.hbs +++ b/ui-v2/app/templates/components/tabular-collection.hbs @@ -10,7 +10,7 @@ {{#ember-native-scrollable tagName='tbody' content-size=_contentSize scroll-left=_scrollLeft scroll-top=_scrollTop scrollChange=(action "scrollChange") clientSizeChange=(action "clientSizeChange")}} {{~#each _cells as |cell|~}} - + {{#yield-slot 'row'}}{{yield cell.item cell.index}}{{/yield-slot}} {{#if hasActions }} diff --git a/ui-v2/app/templates/dc/nodes/-healthchecks.hbs b/ui-v2/app/templates/dc/nodes/-healthchecks.hbs index 772989797b..d199676133 100644 --- a/ui-v2/app/templates/dc/nodes/-healthchecks.hbs +++ b/ui-v2/app/templates/dc/nodes/-healthchecks.hbs @@ -1,6 +1,6 @@ -