Skip to content

Commit 4be228a

Browse files
Add check for -wal and -shm
1 parent 9f085dd commit 4be228a

File tree

1 file changed

+1
-1
lines changed
  • debug-db/src/main/assets

1 file changed

+1
-1
lines changed

debug-db/src/main/assets/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function getDBList() {
7272
var isEncrypted = dbList[count][1];
7373
var isDownloadable = dbList[count][2];
7474
var dbAttribute = isEncrypted == "true" ? ' <span class="glyphicon glyphicon-lock" aria-hidden="true" style="color:blue"></span>' : "";
75-
if(dbName.indexOf("journal") == -1){
75+
if(dbName.indexOf("journal") == -1 && dbName.indexOf("-wal") == -1 && dbName.indexOf("-shm") == -1){
7676
$("#db-list").append("<a href='#' id=" + dbName + " class='list-group-item' onClick='openDatabaseAndGetTableList(\""+ dbName + "\", \""+ isDownloadable + "\");'>" + dbName + dbAttribute + "</a>");
7777
if(!isSelectionDone){
7878
isSelectionDone = true;

0 commit comments

Comments
 (0)