Steps to reproduce
- create a textile with name "a.txt"
- close the opened editor
- favourite that file
Expected behaviour
Actual behaviour
- file is favorited and duplicated in the file list
- after a refresh everything is fine

current master - found while testing #6709
cc @nextcloud/javascript @danxuliu
Steps to reproduce
Expected behaviour
Actual behaviour
current master - found while testing #6709
cc @nextcloud/javascript @danxuliu