IE11 error on application load, result in blank page

Description

The Web UI does not load on Internet Explorer 11.

"Object doesn't support property or method 'includes'".

Most likely the line here triggers the error:
https://bitbucket.org/codeblockgmbh/qrinvoice-java/src/2c23280a42bc6454e8ad698d2b0ee970110aa8ef/qrinvoice-rest/qrinvoice-rest-webgui/src/lang/i18n.js#lines-28

Reason is that Array.prototype.includes is not supported in Internet Explorer according to:
https://caniuse.com/#feat=array-includes

Alternatively use indexOf(lang) > -1 to check.

After having fixed that issue, test if the rest of the web application works in Internet Explorer.

Environment

None

Assignee

nikola.ristic

Reporter

Claude Gex

Labels

None

Components

Affects versions

Priority

Medium
Configure