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

fix: find collection properly when icon component includes : #320

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

userquin
Copy link
Member

@userquin userquin commented Nov 1, 2023

Description

In #316 we included icon with colon (:) handling, but finding the collection logic is wrong, we only need to find the collection by name: the logic in #316 was copy/paste from original handling, where we check first if the icon starts with the prefix + the icon: in the linked issue the problem was that we find the wrong collection.

Linked Issues

check #317 (comment) (don't close it, it is another problem with string conversion)

Additional context

Copy link

stackblitz bot commented Nov 1, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@userquin userquin marked this pull request as draft November 1, 2023 13:41
@userquin userquin marked this pull request as ready for review November 1, 2023 13:42
@userquin userquin requested a review from antfu November 2, 2023 13:36
@userquin userquin merged commit 65b6d41 into main Nov 2, 2023
1 check passed
@userquin userquin deleted the userquin/fix-handle-collection-properly-with-colon branch November 2, 2023 14:56
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.

None yet

2 participants