e1acf6e9d6
Updates Angular to version 9.1 Updates most-to-all npm components Removes deprecated components and npm commands Updates travis node version Adjust the whole code base to angular 9 standard Increase TypeScipt version to 3.8
23 lines
986 B
TypeScript
23 lines
986 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { MatDialog } from '@angular/material/dialog';
|
|
|
|
import { CollectionStringMapperService } from 'app/core/core-services/collection-string-mapper.service';
|
|
import { BasePollDialogService } from 'app/core/ui-services/base-poll-dialog.service';
|
|
import { AssignmentPollDialogComponent } from 'app/site/assignments/components/assignment-poll-dialog/assignment-poll-dialog.component';
|
|
import { AssignmentPollService } from './assignment-poll.service';
|
|
import { ViewAssignmentPoll } from '../models/view-assignment-poll';
|
|
|
|
/**
|
|
* Subclassed to provide the right `PollService` and `DialogComponent`
|
|
*/
|
|
@Injectable({
|
|
providedIn: 'root'
|
|
})
|
|
export class AssignmentPollDialogService extends BasePollDialogService<ViewAssignmentPoll, AssignmentPollService> {
|
|
protected dialogComponent = AssignmentPollDialogComponent;
|
|
|
|
public constructor(dialog: MatDialog, mapper: CollectionStringMapperService) {
|
|
super(dialog, mapper);
|
|
}
|
|
}
|