Ensure that template0 and template1 are available as tempates when creating databasesa. Fixes #3361

[regardless of the Show System Objects? option]
This commit is contained in:
Akshay Joshi
2018-06-18 13:41:14 -04:00
committed by Dave Page
parent 521985c11a
commit a45c33cf76
2 changed files with 21 additions and 2 deletions

View File

@@ -340,7 +340,7 @@ define('pgadmin.node.database', [
else {
if (data && _.isArray(data)) {
_.each(data, function(d) {
res.push({label: d.label, value: d.label,
res.push({label: d, value: d,
image: 'pg-icon-database'});
});
}