mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 11:27:50 +08:00
fix: update grant type state management to ensure UI refresh on change
This commit is contained in:
@@ -145,7 +145,9 @@ class _OAuth2FieldsState extends ConsumerState<OAuth2Fields> {
|
||||
? null
|
||||
: (OAuth2GrantType? newGrantType) {
|
||||
if (newGrantType != null && newGrantType != _grantType) {
|
||||
_grantType = newGrantType;
|
||||
setState(() {
|
||||
_grantType = newGrantType;
|
||||
});
|
||||
|
||||
_updateOAuth2();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user