-
+
+ errorMessage="* Key is required">
-
+
-
\ No newline at end of file
diff --git a/web/src/app/administration/workbasket/details/information/workbasket-information.component.ts b/web/src/app/administration/workbasket/details/information/workbasket-information.component.ts
index fdf465415..4766eee49 100644
--- a/web/src/app/administration/workbasket/details/information/workbasket-information.component.ts
+++ b/web/src/app/administration/workbasket/details/information/workbasket-information.component.ts
@@ -273,15 +273,18 @@ export class WorkbasketInformationComponent
private onRemoveConfirmed() {
this.requestInProgressService.setRequestInProgress(true);
this.workbasketService
- .markWorkbasketForDeletion(
- this.workbasket._links.self.href
- )
+ .markWorkbasketForDeletion(this.workbasket._links.self.href)
.subscribe(
response => {
this.requestInProgressService.setRequestInProgress(false);
this.workbasketService.triggerWorkBasketSaved();
this.alertService.triggerAlert(
- new AlertModel(AlertType.SUCCESS, 'The Workbasket ' + this.workbasket.workbasketId + ' has been marked for deletion')
+ new AlertModel(
+ AlertType.SUCCESS,
+ 'The Workbasket ' +
+ this.workbasket.workbasketId +
+ ' has been marked for deletion'
+ )
);
this.router.navigate(['administration/workbaskets']);
},
diff --git a/web/src/app/models/workbasket-access-items.ts b/web/src/app/models/workbasket-access-items.ts
index 92b94c586..edc1ca5e9 100644
--- a/web/src/app/models/workbasket-access-items.ts
+++ b/web/src/app/models/workbasket-access-items.ts
@@ -5,6 +5,7 @@ export class WorkbasketAccessItems {
public accessItemId: string = '',
public workbasketId: string = '',
public accessId: string = '',
+ public accessName: string = '',
public permRead: boolean = false,
public permOpen: boolean = false,
public permAppend: boolean = false,
diff --git a/web/src/app/shared/spinner/spinner.component.scss b/web/src/app/shared/spinner/spinner.component.scss
index 472dff29d..489ce83d2 100644
--- a/web/src/app/shared/spinner/spinner.component.scss
+++ b/web/src/app/shared/spinner/spinner.component.scss
@@ -18,7 +18,7 @@
margin: 0 auto;
width: 15%;
height: 15%;
- background-color: #33b784;
+ background-color: #36bcee;
border-radius: 100%;
-webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
@@ -68,36 +68,47 @@
-ms-transform: rotate(330deg);
transform: rotate(330deg); }
.sk-circle .sk-circle2:before {
+ background-color: #35b9ea;
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s; }
.sk-circle .sk-circle3:before {
+ background-color: #33b0df;
-webkit-animation-delay: -1s;
animation-delay: -1s; }
.sk-circle .sk-circle4:before {
+ background-color: #36bbed;
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s; }
.sk-circle .sk-circle5:before {
+ background-color: #46b9cc;
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s; }
.sk-circle .sk-circle6:before {
+ background-color: #4fbbbd;
-webkit-animation-delay: -0.7s;
animation-delay: -0.7s; }
.sk-circle .sk-circle7:before {
+ background-color: #51b9b5;
-webkit-animation-delay: -0.6s;
animation-delay: -0.6s; }
.sk-circle .sk-circle8:before {
+ background-color: #5fbca1;
-webkit-animation-delay: -0.5s;
animation-delay: -0.5s; }
.sk-circle .sk-circle9:before {
+ background-color: #5db99e;
-webkit-animation-delay: -0.4s;
animation-delay: -0.4s; }
.sk-circle .sk-circle10:before {
+ background-color: #5ebba0;
-webkit-animation-delay: -0.3s;
animation-delay: -0.3s; }
.sk-circle .sk-circle11:before {
+ background-color: #5db99e;
-webkit-animation-delay: -0.2s;
animation-delay: -0.2s; }
.sk-circle .sk-circle12:before {
+ background-color: #5fbba0;
-webkit-animation-delay: -0.1s;
animation-delay: -0.1s; }
diff --git a/web/src/app/shared/type-ahead/type-ahead.component.html b/web/src/app/shared/type-ahead/type-ahead.component.html
index 7236f4388..984deabba 100644
--- a/web/src/app/shared/type-ahead/type-ahead.component.html
+++ b/web/src/app/shared/type-ahead/type-ahead.component.html
@@ -15,14 +15,11 @@
'disable': disable}" class="wrapper-text" (click)="setTyping(true)">
@@ -31,13 +28,12 @@
{{dataSource.selected?.name}}
-
+ placeholder="{{displayError? placeHolderMessage: ''}}" [@validation]="validationValue" >
diff --git a/web/src/app/shared/type-ahead/type-ahead.component.scss b/web/src/app/shared/type-ahead/type-ahead.component.scss
index 1404e2351..c46dad7e4 100644
--- a/web/src/app/shared/type-ahead/type-ahead.component.scss
+++ b/web/src/app/shared/type-ahead/type-ahead.component.scss
@@ -5,14 +5,14 @@
height: 47px;
& label {
margin-bottom: 0px;
- padding-left: 12px;
+ padding: 0px 12px;
font-style: italic;
overflow: hidden;
}
&> div{
&> div {
border-bottom: 1px solid $light-grey;
- margin-top:6px;
+ margin-top:3px;
padding-left: 12px;
min-width: 175px;
}
@@ -21,7 +21,7 @@
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
- padding-right: 35px;
+ margin-right: 35px;
}
}
diff --git a/web/src/app/shared/type-ahead/type-ahead.component.ts b/web/src/app/shared/type-ahead/type-ahead.component.ts
index 20f76ec62..31e86e019 100644
--- a/web/src/app/shared/type-ahead/type-ahead.component.ts
+++ b/web/src/app/shared/type-ahead/type-ahead.component.ts
@@ -103,7 +103,7 @@ export class TypeAheadComponent implements OnInit, ControlValueAccessor {
}).pipe(mergeMap((token: string) => this.getUsersAsObservable(token)));
this.accessIdsService.getAccessItemsInformation(this.value).subscribe(items => {
if (items.length > 0) {
- this.dataSource.selected = items.find(item => item.accessId === this.value);
+ this.dataSource.selected = items.find(item => item.accessId.toLowerCase() === this.value.toLowerCase());
}
});
}
@@ -139,12 +139,4 @@ export class TypeAheadComponent implements OnInit, ControlValueAccessor {
join(text: string, str: string) {
return text.toLocaleLowerCase().split(str).join(`${str}`);
}
-
- clear() {
- this.value = null;
- this.innerValue = null;
- this.dataSource.selected = null
- this.onSelect.emit(this.dataSource.selected)
- }
-
}