You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-05-22 08:55:42 +02:00
Change master to main (#2044)
This commit is contained in:
@@ -33,16 +33,18 @@ function PluginPanel({ plugin }: { plugin: WoodpeckerPlugin }) {
|
||||
|
||||
export function WoodpeckerPluginList({ plugins }: { plugins: WoodpeckerPlugin[] }) {
|
||||
const applyForIndexUrl =
|
||||
'https://github.com/woodpecker-ci/woodpecker/edit/master/docs/plugins/woodpecker-plugins/plugins.json';
|
||||
'https://github.com/woodpecker-ci/woodpecker/edit/main/docs/plugins/woodpecker-plugins/plugins.json';
|
||||
|
||||
const [query, setQuery] = useState('');
|
||||
|
||||
const fuse = useRef(new Fuse(plugins, {
|
||||
keys: ['name', 'description'],
|
||||
threshold: 0.3,
|
||||
}));
|
||||
const fuse = useRef(
|
||||
new Fuse(plugins, {
|
||||
keys: ['name', 'description'],
|
||||
threshold: 0.3,
|
||||
}),
|
||||
);
|
||||
|
||||
const searchedPlugins = query.length >= 1 ? fuse.current.search(query).map((p) => ( p.item )) : plugins;
|
||||
const searchedPlugins = query.length >= 1 ? fuse.current.search(query).map((p) => p.item) : plugins;
|
||||
|
||||
return (
|
||||
<Layout title="Woodpecker CI plugins" description="List of all Woodpecker-CI plugins">
|
||||
|
||||
Reference in New Issue
Block a user