Commit c81bae52 by ramdayalmunda

image number fix

parent 3b4e49e5
......@@ -39,7 +39,7 @@ var getUserDetails = null
getData('userDetails', async (data)=>{
if (data){
let tso = await getData('tutorShot')
let tso = await getData('tutorShotId')
tutorShotId = tso?tso:null
let imgNum = await getData('imageNumber')
imageNumber = imgNum?imgNum:0
......@@ -304,6 +304,7 @@ var getUserDetails = null
status: tutorShotId ? (recording ? "recording" : "paused") : "stopped",
...request.captureInfo ? request.captureInfo : {}
}
setData("imageNumber", imageNumber)
// to send message to the content instance of the
chrome.tabs.sendMessage(activeTab.id, message);
let data = await api.post('/tutor-shot/screen-shot', message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment