Skip to content
Snippets Groups Projects
Commit 85e59905 authored by Matthieu Benoist's avatar Matthieu Benoist
Browse files

Correct the language detection

parent e0ff1cca
Branches
Tags
1 merge request!109Change licence urls according to language
......@@ -119,8 +119,8 @@ export class DatasetInfoComponent implements OnInit, OnDestroy {
}
isFr(): boolean {
return window.location.href.includes(environment.angularAppHost.fr) ?
true : false;
return window.location.href.includes(environment.angularAppHost.en) ?
false : true;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment