Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Filemanger) deep links not working
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweiss committed Apr 23, 2021
1 parent 557e86d commit 6a0bd7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tine20/Filemanager/js/Filemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Tine.Filemanager.Application = Ext.extend(Tine.Tinebase.Application, {
store.on('load', highlight, this, {single: true});

const currentValue = ftb.getValue();
if (! (currentValue.length ===1 && currentValue[0].field === 'path' && currentValue[0].operator === 'equals')
&& ! sanitzise(currentValue[0].value) === dir) {
if (! (currentValue.length ===1 && currentValue[0].field === 'path' && currentValue[0].operator === 'equals'
&& sanitize(currentValue[0].value) === dir)) {
ftb.setValue([{field: 'path', operator: 'equals', value: dir}]);
ftb.onFiltertrigger();
}
Expand Down

0 comments on commit 6a0bd7e

Please sign in to comment.