As far as I remember, the issue was related to src/assets/ts/components/_SwapperComponent.ts so to fix it you can just update this component in your project.
If you want fully migrate to the latest version then you can refer to our Metronic Updating guide.
Regards, Lauris Stepanovs, Keenthemes Support Team