From c29ed3be26946ae654ca9dbbda4093c1833ea66b Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 7 May 2018 09:19:34 +0200 Subject: [PATCH] MOBILE-2345 assign: Fix duplicated class name --- src/addon/mod/assign/classes/feedback-plugin-component.ts | 2 +- src/addon/mod/assign/feedback/comments/component/comments.ts | 4 ++-- src/addon/mod/assign/feedback/editpdf/component/editpdf.ts | 4 ++-- src/addon/mod/assign/feedback/file/component/file.ts | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/addon/mod/assign/classes/feedback-plugin-component.ts b/src/addon/mod/assign/classes/feedback-plugin-component.ts index 847e7fe5a..dfb9250cd 100644 --- a/src/addon/mod/assign/classes/feedback-plugin-component.ts +++ b/src/addon/mod/assign/classes/feedback-plugin-component.ts @@ -18,7 +18,7 @@ import { ModalController } from 'ionic-angular'; /** * Base class for component to render a feedback plugin. */ -export class AddonModAssignFeedbackPluginComponent { +export class AddonModAssignFeedbackPluginComponentBase { @Input() assign: any; // The assignment. @Input() submission: any; // The submission. @Input() plugin: any; // The plugin object. diff --git a/src/addon/mod/assign/feedback/comments/component/comments.ts b/src/addon/mod/assign/feedback/comments/component/comments.ts index 8c4aec3ae..0460e0c81 100644 --- a/src/addon/mod/assign/feedback/comments/component/comments.ts +++ b/src/addon/mod/assign/feedback/comments/component/comments.ts @@ -20,7 +20,7 @@ import { CoreTextUtilsProvider } from '@providers/utils/text'; import { AddonModAssignProvider } from '../../../providers/assign'; import { AddonModAssignOfflineProvider } from '../../../providers/assign-offline'; import { AddonModAssignFeedbackDelegate } from '../../../providers/feedback-delegate'; -import { AddonModAssignFeedbackPluginComponent } from '../../../classes/feedback-plugin-component'; +import { AddonModAssignFeedbackPluginComponentBase } from '../../../classes/feedback-plugin-component'; import { AddonModAssignFeedbackCommentsHandler } from '../providers/handler'; /** @@ -30,7 +30,7 @@ import { AddonModAssignFeedbackCommentsHandler } from '../providers/handler'; selector: 'addon-mod-assign-feedback-comments', templateUrl: 'comments.html' }) -export class AddonModAssignFeedbackCommentsComponent extends AddonModAssignFeedbackPluginComponent implements OnInit { +export class AddonModAssignFeedbackCommentsComponent extends AddonModAssignFeedbackPluginComponentBase implements OnInit { control: FormControl; component = AddonModAssignProvider.COMPONENT; diff --git a/src/addon/mod/assign/feedback/editpdf/component/editpdf.ts b/src/addon/mod/assign/feedback/editpdf/component/editpdf.ts index 4ccf24e5b..32b6f81cb 100644 --- a/src/addon/mod/assign/feedback/editpdf/component/editpdf.ts +++ b/src/addon/mod/assign/feedback/editpdf/component/editpdf.ts @@ -15,7 +15,7 @@ import { Component, OnInit } from '@angular/core'; import { ModalController } from 'ionic-angular'; import { AddonModAssignProvider } from '../../../providers/assign'; -import { AddonModAssignFeedbackPluginComponent } from '../../../classes/feedback-plugin-component'; +import { AddonModAssignFeedbackPluginComponentBase } from '../../../classes/feedback-plugin-component'; /** * Component to render a edit pdf feedback plugin. @@ -24,7 +24,7 @@ import { AddonModAssignFeedbackPluginComponent } from '../../../classes/feedback selector: 'addon-mod-assign-feedback-edit-pdf', templateUrl: 'editpdf.html' }) -export class AddonModAssignFeedbackEditPdfComponent extends AddonModAssignFeedbackPluginComponent implements OnInit { +export class AddonModAssignFeedbackEditPdfComponent extends AddonModAssignFeedbackPluginComponentBase implements OnInit { component = AddonModAssignProvider.COMPONENT; files: any[]; diff --git a/src/addon/mod/assign/feedback/file/component/file.ts b/src/addon/mod/assign/feedback/file/component/file.ts index 6074bc2f2..d9456ff28 100644 --- a/src/addon/mod/assign/feedback/file/component/file.ts +++ b/src/addon/mod/assign/feedback/file/component/file.ts @@ -15,7 +15,7 @@ import { Component, OnInit } from '@angular/core'; import { ModalController } from 'ionic-angular'; import { AddonModAssignProvider } from '../../../providers/assign'; -import { AddonModAssignFeedbackPluginComponent } from '../../../classes/feedback-plugin-component'; +import { AddonModAssignFeedbackPluginComponentBase } from '../../../classes/feedback-plugin-component'; /** * Component to render a file feedback plugin. @@ -24,7 +24,7 @@ import { AddonModAssignFeedbackPluginComponent } from '../../../classes/feedback selector: 'addon-mod-assign-feedback-file', templateUrl: 'file.html' }) -export class AddonModAssignFeedbackFileComponent extends AddonModAssignFeedbackPluginComponent implements OnInit { +export class AddonModAssignFeedbackFileComponent extends AddonModAssignFeedbackPluginComponentBase implements OnInit { component = AddonModAssignProvider.COMPONENT; files: any[];