Remove module realm option

This commit is contained in:
kwaroran
2024-08-28 23:57:02 +09:00
parent 6b642e5fe5
commit 2dbfa9db6c

View File

@@ -65,14 +65,7 @@
</button>
<button class="text-textcolor2 hover:text-green-500 mr-2 cursor-pointer" use:tooltip={language.download} on:click={async (e) => {
e.stopPropagation()
const data = await alertCardExport('module')
if(data.type === ''){
exportModule(rmodule)
}
if(data.type === 'realm'){
const index = $DataBase.modules.findIndex((v) => v.id === rmodule.id)
$ShowRealmFrameStore = `module:${index}`
}
exportModule(rmodule)
}}>
<Share2Icon size={18}/>
</button>