mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
get maps details from bsaver api
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import { LinkOpenerService } from "renderer/services/link-opener.service"
|
||||
import { ModalService } from "renderer/services/modale.service";
|
||||
import { IframeModal } from "../modal/modal-types/iframe-modal.component";
|
||||
|
||||
type Props = {
|
||||
className?: string,
|
||||
@@ -15,6 +13,7 @@ export function BsmLink({className, href, children, style, internal}: Props) {
|
||||
const linkOpener = LinkOpenerService.getInstance();
|
||||
|
||||
const openLink = () => {
|
||||
if(!href){ return; }
|
||||
linkOpener.open(href, internal);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user