Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sblin committed Feb 26, 2020
1 parent 77c67e0 commit 1a44a0a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# XL Deploy Matrix plugin v1.0.0
# XL Deploy Matrix plugin

[![Build Status][matrix-travis-image]][matrix-travis-url]
[![License: MIT][matrix-license-image]][matrix-license-url]
Expand Down Expand Up @@ -63,3 +63,7 @@ The Matrix report is available in the "Matrix" tab.
- To load a configuration, select one and press the "Load" button.
- The "Reset" button clear all selections.

## Versions

- v1.0.0: initial release
- v1.0.1: bug fixes
2 changes: 1 addition & 1 deletion angular-app/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
<link rel="stylesheet" href="styles.10170deed445a72a15e7.css"></head>
<body>
<app-root></app-root>
<script src="runtime-es2015.0811dcefd377500b5b1a.js" type="module"></script><script src="runtime-es5.0811dcefd377500b5b1a.js" nomodule defer></script><script src="polyfills-es5.ad81c68d1c3d7a0429f1.js" nomodule defer></script><script src="polyfills-es2015.ca64e4516afbb1b890d5.js" type="module"></script><script src="main-es2015.74cbe77f5cf8aea8a126.js" type="module"></script><script src="main-es5.74cbe77f5cf8aea8a126.js" nomodule defer></script></body>
<script src="runtime-es2015.0811dcefd377500b5b1a.js" type="module"></script><script src="runtime-es5.0811dcefd377500b5b1a.js" nomodule defer></script><script src="polyfills-es5.ad81c68d1c3d7a0429f1.js" nomodule defer></script><script src="polyfills-es2015.ca64e4516afbb1b890d5.js" type="module"></script><script src="main-es2015.879aee2d7b3c07b3857e.js" type="module"></script><script src="main-es5.879aee2d7b3c07b3857e.js" nomodule defer></script></body>
</html>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion angular-app/src/app/filter/filter.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<p-toast></p-toast>
<div class="ui-inputgroup">
<input type="text" pInputText placeholder="Enter a name" [(ngModel)]="nameSet"/>
<p-button label="Save" (onClick)="save($event)"></p-button>
<p-button label="Save" (onClick)="save($event)" [disabled]="selectedApps.length<1"></p-button>
</div>
</div>
</div>
Expand Down
13 changes: 10 additions & 3 deletions src/main/resources/matrix/applicationSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
#

path = request.query["path"]
appSet = repositoryService.read(path)
applications = [item.id for item in appSet.applications]
response.entity = {'id': appSet.id, 'applications': applications}
if path:
exists = repositoryService.exists(path)
if exists:
appSet = repositoryService.read(path)
applications = [item.id for item in appSet.applications]
response.entity = {'id': appSet.id, 'applications': applications}
else:
response.entity = {'id': '', 'applications': []}
else:
response.entity = {'id': '', 'applications': []}

0 comments on commit 1a44a0a

Please sign in to comment.