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