Merge pull request #5011 from sbwalker/dev

remove GetButtonSize method
This commit is contained in:
Shaun Walker 2025-01-22 07:43:38 -05:00 committed by GitHub
commit a4419d3af6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -223,15 +223,6 @@ else
_visible = (PageState.QueryString["dialog"] == Id);
}
}
/// <summary>
/// Checks the Class that is used for the Action Button, if it is small make the Cancel Button small as well.
/// </summary>
/// <param name="Class"></param>
/// <returns></returns>
private string GetButtonSize()
{
return Class.Contains("btn-sm", StringComparison.OrdinalIgnoreCase) ? "btn-sm" : string.Empty;
}
private bool IsAuthorized()
{