Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

[PaperUI] Performance improvements - control page #3731

Merged
merged 2 commits into from Aug 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 9 additions & 3 deletions extensions/ui/org.eclipse.smarthome.ui.paper/tests/setup.test.js
Expand Up @@ -294,16 +294,22 @@ describe('module PaperUI.controllers.setup', function() {
$httpBackend = $injector.get('$httpBackend');
mdDialog = $injector.get('$mdDialog');
thingTypeRepository = $injector.get('thingTypeRepository');
spyOn(thingTypeRepository, "getOne").and.callThrough();
thingTypeRepository.singleElements = {
'A:B' : {
UID : 'A:B',
label : 'LABEL'
}
}
spyOn(thingTypeRepository, 'getOne').and.callThrough();
rootScope.data.thingTypes = [ {
UID : "A:B",
UID : 'A:B',
label : 'LABEL'
} ];
approveInboxEntryDialogController = $controller('ApproveInboxEntryDialogController', {
'$scope' : scope,
'discoveryResult' : {
label : 'LABEL',
thingTypeUID : "A:B"
thingTypeUID : 'A:B'
}
});
discoveryService = $injector.get('discoveryService');
Expand Down
Expand Up @@ -88,6 +88,7 @@ md-tabs {
md-tabs md-tabs-wrapper {
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
background-color: #01324D;
z-index: 1;
}

md-tabs section {
Expand Down