refactoring to support delete\update of servics.
[unimgr.git] / dlux / cpeui / cpeui-module / src / main / resources / cpeui / admin.tpl.html
index bd8756a469bf214dd7a6e30926bcabf8ba95c34d..2903ebaeb07aa32d2e6f93be275eb18fb90ac715 100644 (file)
@@ -75,7 +75,7 @@
                        </thead>
                        <tbody id="ces_table">
                                <tr ng-repeat="item in unis | orderBy: '[\'uni-id\']'">
-                                       <td ng-init="device = ces.filterByField('dev-id',item.device)[0]">{{ device["device-name"] ? device["device-name"] : device["dev-id"]}}</td>
+                                       <td ng-init="device = ces.filterByField('dev-id',item.device)[0]">{{ device["device-name"] ? device["device-name"] : item.device}}</td>
                                        <td>{{ item.prettyID }}</td>
                                        <td ng-if="item['tenant-id'] != undefined" >
                                                {{ item['tenant-id'] }} <button class="btn add-row right" ng-click="linkUniDialog.show($event, {'uni':item['uni-id'], tenants:tenantArray})">Edit</button>