Skip to content

Commit d9cdf33

Browse files
author
Johannes Stelzer
committed
allow yml-files in properties-section
1 parent 134d83a commit d9cdf33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-admin-server-ui/app/js/controller/apps/details/propsCtrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function ($scope, application) {
2222
.success(function (env) {
2323
$scope.props = [];
2424
for (var attr in env) {
25-
if (attr.indexOf('[') !== -1 && attr.indexOf('.properties]') !== -1) {
25+
if (attr.indexOf('[') !== -1 && (attr.indexOf('.properties]') !== -1 || attr.indexOf('.yml]'))) {
2626
$scope.props.push({
2727
key: attr,
2828
value: env[attr]

spring-boot-admin-server-ui/app/js/filter/joinArray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
module.exports = function () {
1919
return function (input, separator) {
20-
if (! Array.isArray(input) ) {
20+
if (!Array.isArray(input) ) {
2121
return input;
2222
} else {
2323
return input.join(separator);

0 commit comments

Comments
 (0)