mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-07-24 04:52:05 +00:00
feat/940: Removed last_used column from speech services (#460)
This commit is contained in:
@@ -12,7 +12,6 @@ import {
|
||||
} from "src/api";
|
||||
import { ROUTE_INTERNAL_SPEECH } from "src/router/routes";
|
||||
import {
|
||||
getHumanDateTime,
|
||||
isUserAccountScope,
|
||||
hasLength,
|
||||
hasValue,
|
||||
@@ -178,24 +177,6 @@ export const SpeechServices = () => {
|
||||
<span>{getUsage(credential)}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div
|
||||
className={`i txt--${
|
||||
credential.last_used ? "teal" : "grey"
|
||||
}`}
|
||||
>
|
||||
{credential.last_used ? (
|
||||
<Icons.CheckCircle />
|
||||
) : (
|
||||
<Icons.XCircle />
|
||||
)}
|
||||
<span>
|
||||
{credential.last_used
|
||||
? getHumanDateTime(credential.last_used)
|
||||
: "Never used"}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<CredentialStatus cred={credential} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user