Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vlass Manager UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
Vlass Manager UI
Commits
57e017d8
Commit
57e017d8
authored
1 year ago
by
Sam Kagan
Browse files
Options
Downloads
Patches
Plain Diff
Fixed small bug, unmocked jobSvc.updateNotes
parent
f318486c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!25
Merge 2.4.3 UI to main
,
!21
Added tiles checklist for Accept-and-Archiving calibration jobs
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/executions/execution/execution-detail/execution-detail.component.html
+1
-1
1 addition, 1 deletion
...xecution/execution-detail/execution-detail.component.html
src/app/services/jobs.service.ts
+4
-5
4 additions, 5 deletions
src/app/services/jobs.service.ts
with
5 additions
and
6 deletions
src/app/executions/execution/execution-detail/execution-detail.component.html
+
1
−
1
View file @
57e017d8
...
...
@@ -18,7 +18,7 @@
</a>
</p>
<form
formGroup=
"noteFormGroup"
(ngSubmit)=
"updateNotes()"
class=
"mb-2"
>
<form
[
formGroup
]
=
"noteFormGroup"
(ngSubmit)=
"updateNotes()"
class=
"mb-2"
>
<div
class=
"row mt-3 mr-0"
>
<div
class=
"col-auto"
>
<h4
class=
"pt-2"
>
...
...
This diff is collapsed.
Click to expand it.
src/app/services/jobs.service.ts
+
4
−
5
View file @
57e017d8
...
...
@@ -151,11 +151,10 @@ export class JobsService {
public
updateNotes
(
id
:
number
,
notes
:
string
):
Observable
<
string
>
{
// return this.http.put(this.configService.config.url + this.endPoint + 'jobs/' + id + '/notes', {notes: notes}, {observe: "response"}).pipe(
// map(response => {
// return notes;
// }));
return
of
(
""
);
return
this
.
http
.
put
(
this
.
configService
.
config
.
url
+
this
.
endPoint
+
'
jobs/
'
+
id
+
'
/notes
'
,
{
notes
:
notes
},
{
observe
:
"
response
"
}).
pipe
(
map
(
response
=>
{
return
notes
;
}));
}
public
updateJobStatus
(
id
:
number
,
status
:
string
)
{
...
...
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