[SSE] Show pivot settings for desktop

This commit is contained in:
Julia Radzhabova 2020-06-22 17:53:05 +03:00
parent d4c0e9f771
commit 32ddf384f8
2 changed files with 6 additions and 8 deletions

View file

@ -1109,7 +1109,7 @@ define([
statusbarController.getView('Statusbar').changeViewMode(true);
}
if (!me.appOptions.isEditMailMerge && !me.appOptions.isEditDiagram && !me.appOptions.isOffline)
if (!me.appOptions.isEditMailMerge && !me.appOptions.isEditDiagram)
application.getController('PivotTable').setMode(me.appOptions).setConfig({config: me.editorConfig}, me.api);
var viewport = this.getApplication().getController('Viewport').getView('Viewport');

View file

@ -3175,14 +3175,12 @@ define([
me.toolbar.btnsFormula = formulatab.getButtons('formula');
Array.prototype.push.apply(me.toolbar.lockControls, formulatab.getButtons());
if ( !config.isOffline ) {
var tab = {action: 'pivot', caption: me.textPivot};
var $panel = me.getApplication().getController('PivotTable').createToolbarPanel();
if ($panel) {
me.toolbar.addTab(tab, $panel, 5);
me.toolbar.setVisible('pivot', true);
}
}
if (!(config.customization && config.customization.compactHeader)) {
// hide 'print' and 'save' buttons group and next separator