projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RIFT-15138: Domain field for OpenStack cloud accounts
[osm/UI.git]
/
skyquake
/
plugins
/
accounts
/
src
/
account
/
accountStore.js
diff --git
a/skyquake/plugins/accounts/src/account/accountStore.js
b/skyquake/plugins/accounts/src/account/accountStore.js
index
a9a6d1e
..
dee59f2
100644
(file)
--- a/
skyquake/plugins/accounts/src/account/accountStore.js
+++ b/
skyquake/plugins/accounts/src/account/accountStore.js
@@
-115,6
+115,14
@@
let AccountMeta = {
}, {
label: "Authentication URL",
ref: 'auth_url'
}, {
label: "Authentication URL",
ref: 'auth_url'
+ },{
+ label: "User Domain",
+ ref: 'user-domain',
+ optional: true
+ },{
+ label: "Project Domain",
+ ref: 'project-domain',
+ optional: true
}, {
label: "Tenant",
ref: 'tenant'
}, {
label: "Tenant",
ref: 'tenant'
@@
-352,7
+360,7
@@
export default class AccountStore {
}
generateOptionsByName(data) {
let results = [];
}
generateOptionsByName(data) {
let results = [];
- if (data.constructor.name == "Array") {
+ if (data
&& data
.constructor.name == "Array") {
data.map(function(d) {
results.push({
label: d.name,
data.map(function(d) {
results.push({
label: d.name,