浏览代码

[frontend] removed _ typo

Björn Alm 2 年之前
父节点
当前提交
b65608acbc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/js/apps/tableBrowser/metastoreSource.js

+ 1 - 1
desktop/core/src/desktop/js/apps/tableBrowser/metastoreSource.js

@@ -65,7 +65,7 @@ class MetastoreSource {
 
     huePubSub.subscribe(ASSIST_DB_PANEL_IS_READY_EVENT, () => {
       this.lastLoadNamespacesDeferred.done(() => {
-        const namespaceId = _this.namespace().namespace.id;
+        const namespaceId = this.namespace().namespace.id;
         const localStorageKey = `assist_${this.type}_${namespaceId}.lastSelectedDb`;
         let lastSelectedDb = getFromLocalStorage(localStorageKey);
         if (!lastSelectedDb && lastSelectedDb !== '') {