Claim page - wallet extension installed but still asking for install

Hi,

I am trying to install the connect widget on an html page run on local 127.

Here is the code from

this what it retunrs - extension is installed.

Thanks for te help