fixes panel when default connection is specified

Impossible to access an attribute ("adapter") on a string variable... is thrown when default connection is defined, then config is a string name of that connection, not a configuration options
This commit is contained in:
Justinas 2016-07-05 12:05:57 +03:00 committed by Toni Uebernickel
parent 1abe7fc673
commit 6ad5d58d7d
No known key found for this signature in database
GPG key ID: BE780866F6035C7A

View file

@ -36,7 +36,7 @@
</tr>
</thead>
<tbody>
{% for name, config in configuration.datasources %}
{% for name, config in configuration.datasources if config is iterable %}
<tr>
<th rowspan="5" style="vertical-align: top;">
{{ name }}