We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2992309 commit 6c2fcf8Copy full SHA for 6c2fcf8
1 file changed
ui/src/app/getCookie.ts
@@ -2,7 +2,8 @@ export const getCookie = (cookieName: string) => {
2
const name = `${cookieName}=`;
3
const decodedCookie = decodeURIComponent(document.cookie);
4
const ca = decodedCookie.split(";");
5
- for (let c of ca) {
+ for (let i of ca) {
6
+ let c = i;
7
while (c.startsWith(" ")) {
8
c = c.substring(1);
9
}
0 commit comments