Skip to content

Commit

Permalink
Fix finding the downloadsShareMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriiNazarenkoTine committed Apr 7, 2024
1 parent f6a785c commit e60e2df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SPK_NAME = rr-manager
SPK_VERS = 2.0
SPK_REV = 15
SPK_REV = 16
SPK_ICON = src/rr-manager.png

DSM_UI_DIR = app
Expand Down
2 changes: 1 addition & 1 deletion src/app/rr-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Ext.define("SYNOCOMMUNITY.RRManager.Overview.Main", {
this.getSharesList().then(x => {
var shareName = `/${config['SHARE_NAME']}`;
var sharesList = x.shares;
var downloadsShareMetadata = sharesList.find(x => x.path.toLowerCase() == shareName);
var downloadsShareMetadata = sharesList.find(x => x.path.toLowerCase() == shareName.toLowerCase());
if (!downloadsShareMetadata) {
var msg = this.formatString(this._V('ui', 'share_notfound_msg'), config['SHARE_NAME']);
self.appWin.setStatusBusy({ text: this._V('ui', 'checking_dependencies_loader') });
Expand Down

0 comments on commit e60e2df

Please sign in to comment.