Skip to content

Commit

Permalink
Final test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Finevman committed Oct 6, 2023
1 parent 693cf58 commit 3a6e2e3
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 113 deletions.
6 changes: 1 addition & 5 deletions frontend/generated/vaadin-featureflags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,4 @@ window.Vaadin = window.Vaadin || {};
window.Vaadin.featureFlags = window.Vaadin.featureFlags || {};
window.Vaadin.featureFlags.exampleFeatureFlag = false;
window.Vaadin.featureFlags.viteForFrontendBuild = false;
window.Vaadin.featureFlags.mapComponent = false;
window.Vaadin.featureFlags.spreadsheetComponent = false;
window.Vaadin.featureFlags.hillaPush = false;
window.Vaadin.featureFlags.newLicenseChecker = false;
window.Vaadin.featureFlags.collaborationEngineBackend = false;
window.Vaadin.featureFlags.mapComponent = false;
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@
"@vaadin/vaadin-virtual-list": "23.1.0",
"@vaadin/vertical-layout": "23.1.0",
"@vaadin/virtual-list": "23.1.0",
"construct-style-sheets-polyfill": "3.1.0",
"construct-style-sheets-polyfill": "3.0.4",
"date-fns": "2.28.0",
"line-awesome": "1.3.0",
"lit": "2.2.3"
"lit": "2.1.4"
},
"devDependencies": {
"async": "3.2.2",
Expand Down Expand Up @@ -379,10 +379,10 @@
"@vaadin/vaadin-virtual-list": "23.1.0",
"@vaadin/vertical-layout": "23.1.0",
"@vaadin/virtual-list": "23.1.0",
"construct-style-sheets-polyfill": "3.1.0",
"construct-style-sheets-polyfill": "3.0.4",
"date-fns": "2.28.0",
"line-awesome": "1.3.0",
"lit": "2.2.3"
"lit": "2.1.4"
},
"devDependencies": {
"async": "3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,13 @@ public AvailableAppsView(DataBaseService dataBaseService, AuthenticatedUser auth
}
catch(Exception e){
System.out.println("Exception: "+e);
Span exNotice = e.getMessage().equals("Size was 0") ? new Span("You do not have any apps.") : new Span("We could not retrieve your apps.");
Span exNotice = new Span();
if(e.getMessage() == "Size was 0"){
exNotice.add("There are no available apps.");
}
else{
exNotice.add("We could not retrieve the available apps.");
}
exNotice.addClassName("bold");
appLayout.add(exNotice);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private void initializeLayout(){
private void createSections(){
createSingleSection(0, "Contacts", "contacts", "la-address-book");
createSingleSection(1, "Messages", "messages", "la-comments");
createSingleSection(3, "Available Apps", "available_apps-view", "la-list");
createSingleSection(3, "Available Apps", "available-apps-view", "la-list");
createSingleSection(4, "Apps", "apps-view", "la-list");
createSingleSection(5, "Privacy Notice", "privacyNotice", "la-file");
if(authenticatedUser.getUser().getRole().equals(Role.CONTROLLER) || authenticatedUser.getUser().getRole().equals(Role.DPO)){
Expand Down
Loading

0 comments on commit 3a6e2e3

Please sign in to comment.