diff --git a/pages/controlpanel/commands.js b/pages/controlpanel/commands.js index 592d0ce..2cce5e4 100644 --- a/pages/controlpanel/commands.js +++ b/pages/controlpanel/commands.js @@ -13,6 +13,7 @@ import { import Head from 'next/head' import { useSession } from 'next-auth/client' import axios from 'axios' +import { FaBullseye } from 'react-icons/fa'; function Controller({ initialState }) { @@ -29,6 +30,13 @@ function Controller({ initialState }) { ) } +function processOnline(status) { + console.log(status) + if (status == 'online') { return true } + if (status == 'offline') { return false } + if (status == 'maintenance') { return false } +} + function Commands() { const [session, loading] = useSession() @@ -70,7 +78,7 @@ function Commands() { {command.name} - + ))}