Explorar o código

HUE-8808 [assist] Fix js exception from show in assist action

Johan Ahlen %!s(int64=7) %!d(string=hai) anos
pai
achega
0e77031113
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/js/assist/assistDbNamespace.js

+ 1 - 1
desktop/core/src/desktop/js/assist/assistDbNamespace.js

@@ -298,7 +298,7 @@ class AssistDbNamespace {
     let foundDb;
 
     const findDatabase = () => {
-      self.databases().foreach(db => {
+      self.databases().forEach(db => {
         db.highlight(false);
         if (db.databaseName === catalogEntry.path[0]) {
           foundDb = db;