fix purge submit button in post-listing (#2128)

This commit is contained in:
biosfood 2023-09-12 22:54:48 +02:00 committed by GitHub
parent ab545e0e19
commit 5e91a4d9af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1310,8 +1310,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
{this.state.purgeLoading ? ( {this.state.purgeLoading ? (
<Spinner /> <Spinner />
) : ( ) : (
<button type="submit" className="btn btn-secondary"> <button type="submit" className="btn btn-secondary mt-2">
{this.state.purgeLoading ? <Spinner /> : { purgeTypeText }} {purgeTypeText}
</button> </button>
)} )}
</form> </form>