Skip to content

Commit

Permalink
Merge pull request 'fix/bugfix' (#110) from fix/bugfix into hotfix/v8…
Browse files Browse the repository at this point in the history
….2.1
  • Loading branch information
Julia Radzhabova committed Nov 6, 2024
2 parents 861270d + 885ed65 commit 906c274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/common/main/resources/less/bigscaling.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
.btn-options,
.label-cmp {
i.icon {
&:not(.scaling-off) {
&:not(.scaling-off):not(.icon-custom) {
display: none;
}
}
Expand Down
6 changes: 3 additions & 3 deletions apps/common/mobile/lib/controller/Plugins.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PluginsController = inject('storeAppOptions')(observer(props => {
let modal, iframe;

useEffect(() => {
if (storeAppOptions.customization && !!storeAppOptions.customization.plugins) {
if (storeAppOptions.customization && storeAppOptions.customization.plugins!==false) {
const api = Common.EditorApi.get();

api.asc_registerCallback("asc_onPluginShow", showPluginModal);
Expand Down Expand Up @@ -246,9 +246,9 @@ const PluginsController = inject('storeAppOptions')(observer(props => {
refConfigPlugins.current.plugins = loaded;
mergePlugins();
});
if (configPlugins.config.options) {
if (refConfigPlugins.current.config.options) {
const api = Common.EditorApi.get();
api && api.setPluginsOptions(configPlugins.config.options);
api && api.setPluginsOptions(refConfigPlugins.current.config.options);
}
} else {
refConfigPlugins.current.plugins = false;
Expand Down

0 comments on commit 906c274

Please sign in to comment.