Skip to content

Commit

Permalink
Automatic formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
juanluisrp committed Feb 6, 2024
1 parent 04af777 commit 7c5e656
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,9 @@
// and is depending on each schema. If emtpy an empty array is set.
var getLayerConfiguration = function () {
var configuration = angular.fromJson(getInputValue("layerConfig")) || [];
return Array.isArray(configuration) ? configuration : [configuration.resource];
return Array.isArray(configuration)
? configuration
: [configuration.resource];
};

var extent = [],
Expand Down

0 comments on commit 7c5e656

Please sign in to comment.