Commit d9cdf339 by Johannes Stelzer

allow yml-files in properties-section

parent 134d83a8
......@@ -22,7 +22,7 @@ module.exports = function ($scope, application) {
.success(function (env) {
$scope.props = [];
for (var attr in env) {
if (attr.indexOf('[') !== -1 && attr.indexOf('.properties]') !== -1) {
if (attr.indexOf('[') !== -1 && (attr.indexOf('.properties]') !== -1 || attr.indexOf('.yml]'))) {
$scope.props.push({
key: attr,
value: env[attr]
......
......@@ -17,7 +17,7 @@
module.exports = function () {
return function (input, separator) {
if (! Array.isArray(input) ) {
if (!Array.isArray(input) ) {
return input;
} else {
return input.join(separator);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment