This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new f8d85b6  Don't assume dev exists
f8d85b6 is described below

commit f8d85b6b98df0ea12e35fcb03bdc477768d2c60f
Author: Sebb <[email protected]>
AuthorDate: Wed Nov 10 14:50:01 2021 +0000

    Don't assume dev exists
    
    This fixes #98
---
 webui/js/ponymail.js               | 2 +-
 webui/js/source/listview-header.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index d97840e..959063f 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -2433,7 +2433,7 @@ function switch_project(domain) {
         }
         switch_list('%s@%s'.format(listname, domain));
     } else {
-        switch_list('dev@%s'.format(domain));
+        switch_list('%s@%s'.format(pm_config.favorite_list, domain));
     }
 }
 
diff --git a/webui/js/source/listview-header.js 
b/webui/js/source/listview-header.js
index 6f55a00..2ee9984 100644
--- a/webui/js/source/listview-header.js
+++ b/webui/js/source/listview-header.js
@@ -292,7 +292,7 @@ function switch_project(domain) {
         }
         switch_list('%s@%s'.format(listname, domain));
     } else {
-        switch_list('dev@%s'.format(domain));
+        switch_list('%s@%s'.format(pm_config.favorite_list, domain));
     }
 }
 

Reply via email to