Link K8S deps properly

This commit is contained in:
Elijah Dunemask 2022-10-08 17:47:46 +00:00
parent 0ac77cdb15
commit f0260fc819
64 changed files with 4282 additions and 3069 deletions

View file

@ -1,4 +1,5 @@
import React, { useState, useContext } from "react";
import moment from "moment";
import StoreContext from "@qltr/store";
import Accordion from "@mui/material/Accordion";
@ -18,7 +19,7 @@ export default function SilencingBox(props) {
method: testMethod,
class: testClass,
id: silenceId,
silencedUntil,
expires,
} = silenceEntry;
const { state: store, updateStore } = useContext(StoreContext);
@ -61,11 +62,19 @@ export default function SilencingBox(props) {
<br />
{`Test Class: ${testClass}`}
<br />
{`Silenced Until: ${silencedUntil} Remaining Time: 2:50`}
{`Silenced Until: ${expires} Remaining Time: ${moment(
moment(expires).diff(moment())
).format("HH:mm")}`}
</Typography>
<Stack
sx={{ ml: "auto", display: { md: "none", lg: "none", xl: "none" } }}
sx={{
ml: "auto",
mb: "auto",
mt: "auto",
whiteSpace: "nowrap",
display: { md: "none", lg: "none", xl: "none" },
}}
>
<Actions />
</Stack>