You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello,
I have created a SampleToolbarDefaultsOverride function (SampleToolbarDefaultsOverride: () => DeflatedToolbarTree) and successfully rebound the ToolbarDefaultsFactory with it to add elements to the toolbar. Now, I need to add a new element based on a configuration retrieved from a command-line argument(I have command line argument service to be able to get the arguments from fronend). If this configuration is enabled, I want to add the element to the toolbar.
However, I'm unsure how to update the DeflatedToolbarTree(SampleToolbarDefaultsOverride) based on the configuration. How can I do that ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hello,
I have created a SampleToolbarDefaultsOverride function (SampleToolbarDefaultsOverride: () => DeflatedToolbarTree) and successfully rebound the ToolbarDefaultsFactory with it to add elements to the toolbar. Now, I need to add a new element based on a configuration retrieved from a command-line argument(I have command line argument service to be able to get the arguments from fronend). If this configuration is enabled, I want to add the element to the toolbar.
However, I'm unsure how to update the DeflatedToolbarTree(SampleToolbarDefaultsOverride) based on the configuration. How can I do that ?
Beta Was this translation helpful? Give feedback.
All reactions