- {{
- label: () => {
- return (
-
- {item.srfmajortext}
-
- this.handleTabDelete(item, event)
- }
- >
-
- );
- },
- default: () => {
- return (
- this.c.state.activeTab === item.id &&
- h(viewShell, {
- context: item.context,
- params: item.params,
- viewId: this.c.model.embeddedAppViewId,
- onDataChange: (args: DataChangeEvent) =>
- this.c.onViewDataChange(args, item.id),
- onCreated: (event: EventBase) =>
- this.c.onViewCreated(event, item.id),
- })
- );
- },
- }}
-
- );
- })}
+ {{
+ addIcon: () => {
+ return (
+