fixed unexpected behavior where the selected function properties don't get

updated after adding/deleting a different function.

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
This commit is contained in:
Ken Fukuyama
2018-03-05 00:31:41 +09:00
committed by Alex Ellis
parent 02642ffb3f
commit 7d860bff41
2 changed files with 13 additions and 9 deletions

View File

@ -72,7 +72,7 @@
<div flex></div>
</md-content>
<md-content flex layout="column" ng-repeat="function in functions" ng-show="function.name == selectedFunction.name">
<md-content flex layout="column" ng-repeat="function in functions" ng-if="function.name == selectedFunction.name">
<md-card md-theme="default" md-theme-watch>
<md-card-title>