Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmaas
nmaas Portal
Commits
323a9733
Unverified
Commit
323a9733
authored
1 year ago
by
Łukasz Łopatowski
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request
#148
from nmaas-platform/139-add-application-removal-button
allow state change from new to deleted
parents
ce33f91f
c9c54cb1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/appmarket/appmanagement/app-change-state-modal/appchangestatemodal.component.ts
+1
-1
1 addition, 1 deletion
...t/app-change-state-modal/appchangestatemodal.component.ts
with
1 addition
and
1 deletion
src/app/appmarket/appmanagement/app-change-state-modal/appchangestatemodal.component.ts
+
1
−
1
View file @
323a9733
...
...
@@ -42,7 +42,7 @@ export class AppChangeStateModalComponent implements OnInit, OnChanges {
private
filterStates
():
void
{
switch
(
this
.
getStateAsString
(
this
.
app
.
state
))
{
case
this
.
getStateAsString
(
ApplicationState
.
NEW
):
this
.
stateList
=
[
ApplicationState
.
ACTIVE
,
ApplicationState
.
REJECTED
];
this
.
stateList
=
[
ApplicationState
.
ACTIVE
,
ApplicationState
.
REJECTED
,
ApplicationState
.
DELETED
];
break
;
case
this
.
getStateAsString
(
ApplicationState
.
ACTIVE
):
this
.
stateList
=
[
ApplicationState
.
DISABLED
,
ApplicationState
.
DELETED
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment