header: Fix highlighting not working properly in log
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded

This commit is contained in:
Jonatan Nilsson 2022-03-30 08:33:27 +00:00
parent 3d3a4c553b
commit 455f667e88
3 changed files with 6 additions and 2 deletions

View file

@ -23,6 +23,7 @@ environment:
build_script:
- sh: |
mkdir /lib64
ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
chmod -R 777 /appveyor/projects
npm install
@ -59,6 +60,9 @@ on_success:
-H "Authorization: token $deploytoken" \
-F "attachment=@${CURR_VER}_build-sc.7z" \
https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases/$RELEASE_ID/assets
echo "Deplying to production"
curl -X POST http://192.168.93.51:8881/update/manager | jq
fi
# on build failure

View file

@ -26,7 +26,7 @@ const Header = {
m('div.seperator'),
m(m.route.Link, {
href: '/log',
class: path === '/log' ? 'active' : '',
class: path.startsWith('/log') ? 'active' : '',
}, 'Log'),
m('div.seperator'),
m(m.route.Link, {

View file

@ -1,6 +1,6 @@
{
"name": "sc-manager",
"version": "2.0.0",
"version": "2.0.1",
"description": "",
"main": "index.js",
"scripts": {