Skip to content

Commit

Permalink
Merge pull request #2893 from ONLYOFFICE/fix/bugfix
Browse files Browse the repository at this point in the history
Fix background plugins
  • Loading branch information
JuliaRadzhabova authored Mar 21, 2024
2 parents 40a0396 + bb0f803 commit db2e2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/common/main/lib/controller/Plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ define([

variationsArr.push(model);
if (itemInd === 0) {
isBackgroundPlugin = itemVar.type ? itemVar.type === Asc.PluginType.Background : !itemVar.isVisual;
isBackgroundPlugin = itemVar.type ? itemVar.type === Asc.PluginType.Background : false;
}
}
});
Expand Down

0 comments on commit db2e2ce

Please sign in to comment.