message: Update unit-form.service.ts
diff: @@ -98,8 +98,8 @@ export class UnitFormService {
  // call callback function
  onDone();
  -
  // create notification
  + if (this.model.visible) {
  this.notificationService.createItem(
  {
  changedCourse: this.course,
  @@ -107,7 +107,7 @@ export class UnitFormService {
  changedUnit: responseUnit,
  text: notifyMessage
  });
  -
  + }
  } catch (err) {
  const snackErrMessage = `Couldn't ${isUpdate ? 'update' : 'create'} Unit '${this.model.name ? `'${this.model.name}'` : ''}'`;
  