mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-03-28 08:15:55 +00:00
fix issue with saving
This commit is contained in:
parent
7091e0b536
commit
0cc2bc240e
@ -28,7 +28,7 @@ const getPublishRecord = async (myName) => {
|
|||||||
}
|
}
|
||||||
const publishData = await response.json();
|
const publishData = await response.json();
|
||||||
|
|
||||||
if(publishData?.length > 0) return {hasPublishRecord: false, timestamp: publishData[0]?.updated || publishData[0].created}
|
if(publishData?.length > 0) return {hasPublishRecord: true, timestamp: publishData[0]?.updated || publishData[0].created}
|
||||||
|
|
||||||
return {hasPublishRecord: false}
|
return {hasPublishRecord: false}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user