Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
enasequence
webin-portal
Commits
1b5c20e5
Commit
1b5c20e5
authored
Jul 07, 2021
by
Rajkumar-D
Browse files
ENA-4441: Fixing errors
parent
b4f4d332
Pipeline
#278458
failed with stages
in 25 seconds
Changes
3
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
src/app/read-submission/read-submission.component.html
src/app/read-submission/read-submission.component.html
+2
-2
src/app/taxonomy-management/taxonomy-management.component.html
...pp/taxonomy-management/taxonomy-management.component.html
+6
-2
src/app/taxonomy-management/taxonomy-management.component.ts
src/app/taxonomy-management/taxonomy-management.component.ts
+4
-0
No files found.
src/app/read-submission/read-submission.component.html
View file @
1b5c20e5
...
...
@@ -28,13 +28,13 @@
</mat-expansion-panel-header>
<mat-horizontal-stepper
#stepper
>
<mat-step
label=
"Please select a study"
>
<!--
<mat-step label="Please select a study">
<app-report (selectedRecord)="getSelectedStudy($event,stepper)" [reportType]="reportType"
[embDefaultSearch]="true" [embeded]="true"></app-report>
<div>
<button mat-button matStepperNext [disabled]="!this.selectedStudy">Next</button>
</div>
</mat-step>
</mat-step>
-->
<mat-step
label=
"Please select a file format"
>
<div
class=
"mat-elevation-z8"
>
<mat-accordion>
...
...
src/app/taxonomy-management/taxonomy-management.component.html
View file @
1b5c20e5
...
...
@@ -186,9 +186,13 @@
</div>
</div>
<br>
<!--<div style="text-align:Center" *ngIf="stepper.selectedIndex==1">-->
<!--<div style="text-align:Cente
ne
r" *ngIf="stepper.selectedIndex==1">-->
<div
style=
"text-align:Center"
>
<button
mat-raised-button
color=
"accent"
[disabled]=
"!taxonomySubmissionCheck(source)"
<div
*ngIf=
"!isProductionEnv && taxonomySubmissionCheck(source)"
style=
"padding: 30px;"
>
Your request is valid, but taxonomy requests are not supported in the test interface.
<br>
</div>
<button
mat-raised-button
color=
"accent"
[disabled]=
"!isProductionEnv || !taxonomySubmissionCheck(source)"
(click)=
submitTaxonomyRequest(source)
>
Check and make taxonomy request
</button>
<button
mat-raised-button
style=
"margin-left: 5px;"
routerLink=
""
>
Cancel
</button>
</div>
...
...
src/app/taxonomy-management/taxonomy-management.component.ts
View file @
1b5c20e5
...
...
@@ -60,6 +60,7 @@ export class TaxonomyManagementComponent implements OnInit {
"
description
"
,
"
message
"
,
];
isProductionEnv
=
environment
.
production
;
constructor
(
private
_webinRestService
:
WebinRestService
,
...
...
@@ -188,6 +189,7 @@ export class TaxonomyManagementComponent implements OnInit {
if
(
result
.
event
===
"
Update
"
)
{
this
.
updateTaxa
(
tableArr
,
taxonRefObj
);
this
.
hideLoading
();
}
if
(
result
.
event
===
"
Add
"
)
{
...
...
@@ -198,6 +200,7 @@ export class TaxonomyManagementComponent implements OnInit {
blob
);
this
.
handleServerResponse
(
observable
,
false
);
this
.
hideLoading
();
}
if
(
result
.
event
===
"
Delete
"
)
{
...
...
@@ -264,6 +267,7 @@ export class TaxonomyManagementComponent implements OnInit {
}
submitTaxonomyRequest
(
source
)
{
this
.
submissionAccount
=
JSON
.
parse
(
this
.
_webinAuthService
.
getSubmissionAccount
()
);
...
...
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