Skip to content

empty name in 'adfDashboardChanged' listener - #266

Open
muzuro wants to merge 2 commits into
angular-dashboard-framework:masterfrom
tko-inform:master
Open

muzuro wants to merge 2 commits into
angular-dashboard-framework:masterfrom
tko-inform:master

Conversation

@muzuro

@muzuro muzuro commented Aug 22, 2016

Copy link
Copy Markdown

There is an issue with empty name in 'adfDashboardChanged' listener. I belive it is caused by late adf-dashboard name attribute assignment.

I declare adf-dashboard this way:
<adf-dashboard name="{{dashboard.id}}" collapsible="true" structure="6-6" adf-model="dashboardConfig" />
At start dashboard.id not assigned, it will be assigned by $http.get callback.

We can fix this by broadcasting $scope.name value instead name.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 93.153% when pulling 8234370 on tko-inform:master into 0a1b1b6 on angular-dashboard-framework:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 93.153% when pulling 51a1feb on tko-inform:master into 0a1b1b6 on angular-dashboard-framework:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants