Skip to content

Commit

Permalink
[LINT]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed May 3, 2024
1 parent e01041a commit 534cb94
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/profile.9f2a7f38.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/profile.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="fr" xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" href="index.936772dc.css"><link rel="stylesheet" href="profile.128c0f72.css"><script type="module" src="index.4bba5eee.js"></script><link rel="stylesheet" href="index.fea0efb1.css"><title>[Ma carte] - profil</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="description" content="Profil public des utilisateurs de Ma carte."><meta name="keywords" content="carte, map, storymap, narration, utilisateur, equipe, team"><link rel="icon" type="image/png" href="logo.fb0b1dda.png"><meta name="mobile-web-app-capable" content="yes"><meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="translucent-black"><link rel="apple-touch-icon" href="logo.fb0b1dda.png"><link rel="apple-touch-startup-image" href="logo.fb0b1dda.png"><meta name="format-detection" content="telephone=no"><meta name="msapplication-tap-highlight" content="no"></head><body data-page="site" data-module="profil"> <script type="module" src="profile.599395c1.js"></script> </body></html>
<!DOCTYPE html><html lang="fr" xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" href="index.936772dc.css"><link rel="stylesheet" href="profile.128c0f72.css"><script type="module" src="index.4bba5eee.js"></script><link rel="stylesheet" href="index.fea0efb1.css"><title>[Ma carte] - profil</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="description" content="Profil public des utilisateurs de Ma carte."><meta name="keywords" content="carte, map, storymap, narration, utilisateur, equipe, team"><link rel="icon" type="image/png" href="logo.fb0b1dda.png"><meta name="mobile-web-app-capable" content="yes"><meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="translucent-black"><link rel="apple-touch-icon" href="logo.fb0b1dda.png"><link rel="apple-touch-startup-image" href="logo.fb0b1dda.png"><meta name="format-detection" content="telephone=no"><meta name="msapplication-tap-highlight" content="no"></head><body data-page="site" data-module="profil"> <script type="module" src="profile.9f2a7f38.js"></script> </body></html>
6 changes: 2 additions & 4 deletions src/profile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import api from 'mcutils/api/api'

import charte from 'mcutils/charte/macarte'
import loader from 'mcutils/dialog/loader'
import { getUrlParameter } from 'mcutils/control/url'
Expand Down Expand Up @@ -63,7 +61,7 @@ if (!userID && !teamID) {
showError();
return;
}
user = response;
const user = response;
document.body.dataset.module = 'user';
document.title = document.title.replace('profil', user.public_name);
// Search user maps
Expand All @@ -79,7 +77,7 @@ if (!userID && !teamID) {
showError();
return;
}
team = response;
const team = response;
document.body.dataset.module = 'team';
document.title = document.title.replace('profil', team.name);
// Search team maps
Expand Down

0 comments on commit 534cb94

Please sign in to comment.