mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-20 10:05:56 +00:00
switch placement
This commit is contained in:
parent
8e70e29b13
commit
c91e6f3527
@ -650,10 +650,11 @@ function App() {
|
||||
const qortalRequestPermissonFromExtension = async (message, event) => {
|
||||
if (message.action === "QORTAL_REQUEST_PERMISSION") {
|
||||
try {
|
||||
if(message?.payload?.checkbox1){
|
||||
qortalRequestCheckbox1Ref.current = message?.payload?.checkbox1
|
||||
}
|
||||
await showQortalRequestExtension(message?.payload);
|
||||
if(message?.payload?.checkbox1){
|
||||
qortalRequestCheckbox1Ref.current = message?.payload?.checkbox1
|
||||
}
|
||||
|
||||
if (qortalRequestCheckbox1Ref.current) {
|
||||
event.source.postMessage(
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user