Skip to content

Commit

Permalink
eslint-update: remove old unused isViewOnly calls from merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
benloh committed Oct 12, 2020
1 parent 5129ba0 commit 4a08c08
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/app-web/modules/adm-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ class ADMSettings {
//
this.sClassroomId = ''; // set from login token
this.sStudentGroupId = ''; // set from login token
//
this.isViewOnly = false; // set from admdata login
}

/// GETTERS /////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -64,11 +62,6 @@ class ADMSettings {
return this.sStudentGroupId;
}

get isViewOnly() {
if (DBG) console.log('get viewOnlyMode', this.isViewOnly, typeof this.isViewOnly);
return this.isViewOnly;
}

/// SETTERS /////////////////////////////////////////////////////////////////
/// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
set selectedTeacherId(id) {
Expand Down Expand Up @@ -100,9 +93,6 @@ class ADMSettings {
this.sPMCDataId = id;
}

set isViewOnly(state) {
this.isViewOnly = state;
}
} // class

/// CREATE INSTANCE ///////////////////////////////////////////////////////////
Expand Down

0 comments on commit 4a08c08

Please sign in to comment.