I created a SPFx BaseListViewCommandSet extension. My component puts the status of all selected rows. The update works well.
However, when I want to refresh the page (location.reload ();) at the end of the OnExecute method, the page does not refresh.
In debug mode, the page refreshes, in package deployed mode, the page does not refresh.
@override
public onExecute(event: IListViewCommandSetExecuteEventParameters): void {
//code ... location.reload ();
}
Any Idea ?
Olivier,