Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a4ed543f
Commit
a4ed543f
authored
Apr 03, 2020
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Utilize object destructuring in setKnativeDomain
parent
de968191
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
app/assets/javascripts/clusters/clusters_bundle.js
app/assets/javascripts/clusters/clusters_bundle.js
+3
-8
No files found.
app/assets/javascripts/clusters/clusters_bundle.js
View file @
a4ed543f
...
@@ -521,15 +521,10 @@ export default class Clusters {
...
@@ -521,15 +521,10 @@ export default class Clusters {
});
});
}
}
setKnativeDomain
(
data
)
{
setKnativeDomain
({
id
:
appId
,
domain
,
domainId
})
{
const
appId
=
data
.
id
;
this
.
store
.
updateAppProperty
(
appId
,
'
isEditingDomain
'
,
true
);
this
.
store
.
updateAppProperty
(
appId
,
'
isEditingDomain
'
,
true
);
this
.
store
.
updateAppProperty
(
appId
,
'
hostname
'
,
data
.
domain
);
this
.
store
.
updateAppProperty
(
appId
,
'
hostname
'
,
domain
);
this
.
store
.
updateAppProperty
(
this
.
store
.
updateAppProperty
(
appId
,
'
pagesDomain
'
,
domainId
?
{
id
:
domainId
,
domain
}
:
null
);
appId
,
'
pagesDomain
'
,
data
.
domainId
?
{
id
:
data
.
domainId
,
domain
:
data
.
domain
}
:
null
,
);
}
}
setCrossplaneProviderStack
(
data
)
{
setCrossplaneProviderStack
(
data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment