Skip to content

Commit de5c441

Browse files
committed
fix: remove unnecessary first sort on plugin page when set to default sort
1 parent b85b1e3 commit de5c441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/plugins/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ tagsSelect.value = tagsParam;
154154
sortSelect.value = sortParam;
155155

156156
filterPlugins();
157-
applySort();
157+
if(sortParam != DEFAULT_PLUGIN_SORT){applySort();}
158158
updateUrlParams();
159159

160160
function onFilterChange(): void {

0 commit comments

Comments
 (0)