From e6e25449d14ecee2353d36b5f94830344d6b7d23 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Tue, 16 Feb 2021 11:01:55 +0100
Subject: [PATCH] Fix mixin name

---
 packages/check-in-place-select/src/check-in-place-select.js | 2 +-
 packages/common/error.js                                    | 2 +-
 packages/person-select/src/person-select.js                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/packages/check-in-place-select/src/check-in-place-select.js b/packages/check-in-place-select/src/check-in-place-select.js
index e5416afc..66216515 100644
--- a/packages/check-in-place-select/src/check-in-place-select.js
+++ b/packages/check-in-place-select/src/check-in-place-select.js
@@ -24,7 +24,7 @@ export class CheckInPlaceSelect extends ScopedElementsMixin(AdapterLitElement) {
 
     constructor() {
         super();
-        Object.assign(CheckInPlaceSelect.prototype, errorUtils.backupMixin);
+        Object.assign(CheckInPlaceSelect.prototype, errorUtils.errorMixin);
         this.lang = 'de';
         this.entryPointUrl = '';
         this.jsonld = null;
diff --git a/packages/common/error.js b/packages/common/error.js
index 9ed2522f..afb841c9 100644
--- a/packages/common/error.js
+++ b/packages/common/error.js
@@ -116,7 +116,7 @@ export const stripHTML = (string) => {
 /**
  * We need this mixin so we can use this.sendSetPropertyEvent to post analytics events
  */
-export const backupMixin = {
+export const errorMixin = {
     /**
      * Error handling for XHR errors
      *
diff --git a/packages/person-select/src/person-select.js b/packages/person-select/src/person-select.js
index 641942c5..3b294563 100644
--- a/packages/person-select/src/person-select.js
+++ b/packages/person-select/src/person-select.js
@@ -27,7 +27,7 @@ export class PersonSelect extends ScopedElementsMixin(AdapterLitElement) {
 
     constructor() {
         super();
-        Object.assign(PersonSelect.prototype, errorUtils.backupMixin);
+        Object.assign(PersonSelect.prototype, errorUtils.errorMixin);
         this.auth = {};
         this.lang = 'de';
         this.entryPointUrl = '';
-- 
GitLab