Skip to content

Commit

Permalink
fixed users and roles tab
Browse files Browse the repository at this point in the history
  • Loading branch information
fantinodavide committed Jun 20, 2022
1 parent 0d24466 commit f9db836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const versionN = "0.12";
const versionN = "0.13";

const fs = require("fs-extra");
const StreamZip = require('node-stream-zip');
Expand Down Expand Up @@ -55,7 +55,7 @@ function start() {
function main() {
checkUpdates(config.other.automatic_updates, () => {
console.log("ARGS:", args)
setInterval(() => { checkUpdates(config.other.automatic_updates) }, config.other.update_check_interval_seconds);
setInterval(() => { checkUpdates(config.other.automatic_updates) }, config.other.update_check_interval_seconds*1000);
if (enableServer) {
const privKPath = 'certificates/privatekey.pem';
const certPath = 'certificates/certificate.pem';
Expand Down
4 changes: 2 additions & 2 deletions src/components/userCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
</script>

<template>
<div class="gameGroupCard shadow">
<div class="gameGroupCard shadow" v-if="user_data.username != 'admin'">
<div class="groupName tag">{{ user_data.username }}</div>
<div class="mainContainer">
<span v-if="user_data.clan_data != []" class="tag"><img v-if="user_data.clan_data[0].admins.includes(user_data._id)" :src="crown_icon" alt="" />{{ user_data.clan_data[0].tag }}</span>
<span v-if="user_data.clan_data.length > 0" class="tag"><img v-if="user_data.clan_data[0] && user_data.clan_data[0].admins.includes(user_data._id)" :src="crown_icon" alt="" />{{ user_data.clan_data[0] ? user_data.clan_data[0].tag : '' }}</span>
<select
:ref="
(e) => {
Expand Down

0 comments on commit f9db836

Please sign in to comment.