mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 05:30:15 +08:00
[SSE] Show description for custom functions
This commit is contained in:
@ -3349,7 +3349,7 @@ define([
|
||||
switch (type) {
|
||||
case Asc.c_oAscPopUpSelectorType.Func:
|
||||
iconCls = 'menu__icon btn-function';
|
||||
hint = (funcdesc && funcdesc[origname]) ? funcdesc[origname].d : '';
|
||||
hint = (funcdesc && funcdesc[origname]) ? funcdesc[origname].d : menuItem.asc_getDescription() || '';
|
||||
break;
|
||||
case Asc.c_oAscPopUpSelectorType.Table:
|
||||
iconCls = 'menu__icon btn-menu-table';
|
||||
|
||||
@ -71,7 +71,7 @@ const CellEditor = inject("storeFunctions")(observer(props => {
|
||||
|
||||
switch (type) {
|
||||
case Asc.c_oAscPopUpSelectorType.Func:
|
||||
descr = functions && functions[origName] ? functions[origName].descr : '';
|
||||
descr = functions && functions[origName] ? functions[origName].descr : item.asc_getDescription() || '';
|
||||
break;
|
||||
case Asc.c_oAscPopUpSelectorType.TableThisRow:
|
||||
descr = t('View.Add.textThisRowHint');
|
||||
|
||||
Reference in New Issue
Block a user