Skip to content

Commit

Permalink
Saving the data (#391)
Browse files Browse the repository at this point in the history
Co-authored-by: Felipe da Conceicao Guimaraes <[email protected]>
  • Loading branch information
guimafelipe and Felipe da Conceicao Guimaraes authored May 15, 2024
1 parent d11919a commit 7821908
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GitHubExtension/Widgets/GitHubWidget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ public override void OnActionInvoked(WidgetActionInvokedArgs actionInvokedArgs)
// It might take some time to get the new data, so
// set data state to "unknown" so that loading page is shown.
DataState = WidgetDataState.Unknown;

ConfigurationData = actionInvokedArgs.Data;
UpdateWidget();

SavedConfigurationData = string.Empty;
Expand Down

0 comments on commit 7821908

Please sign in to comment.