Fix plugin -> cell navigation
This commit is contained in:
parent
824202d3a6
commit
621cb6a9f8
@ -298,6 +298,7 @@ const Map: React.FC = () => {
|
|||||||
clearSelectedCell();
|
clearSelectedCell();
|
||||||
}
|
}
|
||||||
} else if (router.query.plugin && typeof router.query.plugin === "string") {
|
} else if (router.query.plugin && typeof router.query.plugin === "string") {
|
||||||
|
clearSelectedCell();
|
||||||
setSidebarOpen(true);
|
setSidebarOpen(true);
|
||||||
if (plugins && plugins.length > 0 && pluginsPending === 0) {
|
if (plugins && plugins.length > 0 && pluginsPending === 0) {
|
||||||
const plugin = plugins.find((p) => p.hash === router.query.plugin);
|
const plugin = plugins.find((p) => p.hash === router.query.plugin);
|
||||||
|
Loading…
Reference in New Issue
Block a user