Skip to content

Commit f8bad3a

Browse files
committed
fix: remove unnecessary first sort on plugin page when set to default sort
1 parent 672f7e7 commit f8bad3a

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
@@ -153,7 +153,7 @@ tagsSelect.value = tagsParam;
153153
sortSelect.value = sortParam;
154154

155155
filterPlugins();
156-
applySort();
156+
if(sortParam != DEFAULT_PLUGIN_SORT){applySort();}
157157
updateUrlParams();
158158

159159
function onFilterChange(): void {

0 commit comments

Comments
 (0)