Skip to content

Commit

Permalink
fix upload/filesearch default when preference is not set;
Browse files Browse the repository at this point in the history
ui would enter a confusing state when hopping between a
folder with write-permissions and one without
  • Loading branch information
9001 committed Mar 9, 2024
1 parent 0c03921 commit 51a83b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions copyparty/web/up2k.js
Original file line number Diff line number Diff line change
Expand Up @@ -2868,6 +2868,8 @@ function up2k_init(subtle) {
new_state = false;
fixed = true;
}
if (new_state === undefined)
new_state = can_write ? false : have_up2k_idx ? true : undefined;
}

if (new_state === undefined)
Expand Down

0 comments on commit 51a83b0

Please sign in to comment.