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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
2f0ec5c0
Commit
2f0ec5c0
authored
May 29, 2019
by
Enrique Alcantara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add updateSuccessful/Failed props to knative app
They are used to indicate when knative domain name has changed
parent
60c58c75
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
27 deletions
+37
-27
app/assets/javascripts/clusters/components/application_row.vue
...ssets/javascripts/clusters/components/application_row.vue
+33
-27
app/assets/javascripts/clusters/stores/clusters_store.js
app/assets/javascripts/clusters/stores/clusters_store.js
+2
-0
spec/frontend/clusters/stores/clusters_store_spec.js
spec/frontend/clusters/stores/clusters_store_spec.js
+2
-0
No files found.
app/assets/javascripts/clusters/components/application_row.vue
View file @
2f0ec5c0
...
...
@@ -89,6 +89,10 @@ export default {
type
:
Boolean
,
required
:
false
,
},
updateable
:
{
type
:
Boolean
,
default
:
true
,
},
updateSuccessful
:
{
type
:
Boolean
,
required
:
false
,
...
...
@@ -326,6 +330,7 @@ export default {
</ul>
</div>
<div
v-if=
"updateable"
>
<div
v-if=
"shouldShowUpgradeDetails"
class=
"form-text text-muted label p-0 js-cluster-application-upgrade-details"
...
...
@@ -357,6 +362,7 @@ export default {
@
click=
"upgradeClicked"
/>
</div>
</div>
<div
:class=
"
{ 'section-25': showManageButton, 'section-15': !showManageButton }"
class="table-section table-button-footer section-align-top"
...
...
app/assets/javascripts/clusters/stores/clusters_store.js
View file @
2f0ec5c0
...
...
@@ -77,6 +77,8 @@ export default class ClusterStore {
isEditingHostName
:
false
,
externalIp
:
null
,
externalHostname
:
null
,
updateSuccessful
:
false
,
updateFailed
:
false
,
},
},
};
...
...
spec/frontend/clusters/stores/clusters_store_spec.js
View file @
2f0ec5c0
...
...
@@ -133,6 +133,8 @@ describe('Clusters Store', () => {
uninstallable
:
false
,
uninstallSuccessful
:
false
,
uninstallFailed
:
false
,
updateSuccessful
:
false
,
updateFailed
:
false
,
},
cert_manager
:
{
title
:
'
Cert-Manager
'
,
...
...
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