Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor guild roster display logic and fix img attribute #8

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

MCLifeLeader
Copy link
Owner

Added a conditional check to show a loading message if GuildRosterData is null or empty. Moved the foreach loop inside an else block to execute only when GuildRosterData has members. Retained nested if conditions and HTML structure within the else block. Corrected the placement of crossorigin="anonymous" attribute to the appropriate img tag. Removed redundant else block for CharacterMedias check, simplifying the code.

Added a conditional check to show a loading message if `GuildRosterData` is null or empty. Moved the `foreach` loop inside an `else` block to execute only when `GuildRosterData` has members. Retained nested `if` conditions and HTML structure within the `else` block. Corrected the placement of `crossorigin="anonymous"` attribute to the appropriate `img` tag. Removed redundant `else` block for `CharacterMedias` check, simplifying the code.
@MCLifeLeader MCLifeLeader merged commit 6cb11d4 into main Aug 16, 2024
4 checks passed
@MCLifeLeader MCLifeLeader deleted the new_work branch August 16, 2024 03:24
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://jolly-smoke-0d5c5b110-8.centralus.5.azurestaticapps.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant