Skip to content

Commit 1a44a0a

Browse files
committed
Bug fixes
1 parent 77c67e0 commit 1a44a0a

File tree

6 files changed

+19
-8
lines changed

6 files changed

+19
-8
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# XL Deploy Matrix plugin v1.0.0
1+
# XL Deploy Matrix plugin
22

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

66+
## Versions
67+
68+
- v1.0.0: initial release
69+
- v1.0.1: bug fixes

angular-app/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
<link rel="stylesheet" href="styles.10170deed445a72a15e7.css"></head>
1010
<body>
1111
<app-root></app-root>
12-
<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>
12+
<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>
1313
</html>

angular-app/dist/main-es2015.74cbe77f5cf8aea8a126.js renamed to angular-app/dist/main-es2015.879aee2d7b3c07b3857e.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular-app/dist/main-es5.74cbe77f5cf8aea8a126.js renamed to angular-app/dist/main-es5.879aee2d7b3c07b3857e.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular-app/src/app/filter/filter.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<p-toast></p-toast>
3535
<div class="ui-inputgroup">
3636
<input type="text" pInputText placeholder="Enter a name" [(ngModel)]="nameSet"/>
37-
<p-button label="Save" (onClick)="save($event)"></p-button>
37+
<p-button label="Save" (onClick)="save($event)" [disabled]="selectedApps.length<1"></p-button>
3838
</div>
3939
</div>
4040
</div>

src/main/resources/matrix/applicationSet.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
#
1010

1111
path = request.query["path"]
12-
appSet = repositoryService.read(path)
13-
applications = [item.id for item in appSet.applications]
14-
response.entity = {'id': appSet.id, 'applications': applications}
12+
if path:
13+
exists = repositoryService.exists(path)
14+
if exists:
15+
appSet = repositoryService.read(path)
16+
applications = [item.id for item in appSet.applications]
17+
response.entity = {'id': appSet.id, 'applications': applications}
18+
else:
19+
response.entity = {'id': '', 'applications': []}
20+
else:
21+
response.entity = {'id': '', 'applications': []}

0 commit comments

Comments
 (0)