mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
#1174 Rename report
This commit is contained in:
parent
8993223a62
commit
a12c370cc7
@ -21,3 +21,7 @@
|
||||
.dropdown-widget__invalid .mdl-textfield__error {
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.large {
|
||||
font-size: 44px;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div *ngIf="isEditable">
|
||||
<input
|
||||
type="text"
|
||||
class="mdl-textfield__input"
|
||||
class="mdl-textfield__input large"
|
||||
id="reportName"
|
||||
data-automation-id="reportName"
|
||||
[value]="reportParameters.name"
|
||||
|
@ -178,7 +178,7 @@ export class AnalyticsService {
|
||||
.catch(this.handleError);
|
||||
}
|
||||
|
||||
updateReport(reportId: number, name: string): Observable<any> {
|
||||
public updateReport(reportId: number, name: string): Observable<any> {
|
||||
return Observable.fromPromise(this.apiService.getInstance().activiti.reportApi.updateReport(reportId, name))
|
||||
.map((res: any) => {
|
||||
console.log('upload');
|
||||
|
Loading…
x
Reference in New Issue
Block a user