Okay, so if you did not quit yet, that should work—or at least, there should be a workable solution. Does that mean your reference letter from that job (or other proofs that you provided) did not show an end date? Does the letter say something similar to "joined our organisation on X date and is currently employed as..."? Technically, if you are still working and have been working there, then it is totally fine to claim 2 years because you DO have 2 years. However, what I would have done in your case is to have explained this situation to IRCC in my LOE—in order to avoid any doubts caused because of your travel history which will show them that you left Canada. If you did not explain this already in an LOE at the time of submitting, ask someone more experienced on this forum for advice.
Personally, this is what I would do now (check with legalfalcon or someone else if it is necessary to do this or not): I would write an explanation in a new LOE now and upload it via CSE webform asap. I would write something like this: "Dear IRCC Officer, It has just come to my attention that my travel history may appear to be in conflict with my claimed years of work experience. Therefore, I am writing to clarify that although I left Canada on X date, I DO indeed have the amount of work exp I am claiming, because I have continued to work remotely for the same employer throughout this time without any breaks. I was working in-person until X date and switched to remote work on X date until present. I confirm that my job title, job duties, and work hours per week have remained the same throughout in consistence with the reference letter I had attached as part of my application—the only change has been a switch to remote work. As evidence, I attach the pay stubs of my last month of working in-person in Canada, followed by the pay stubs of the months thereafter, when I have not been physically present in Canada but have continued working. Thank you for making note of this. I remain at your disposal to provide any further information in this regard."
Combine a letter like this along with pay stubs into a single document, upload via webform.