mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove lingui (#1874)
* remove lingui Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * babelless Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * tweak ts-loader options Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * tweak renderer webpack config Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
050603a7b3
commit
a03da3c572
163 files changed
+1140
-12003
No files matched your search
@@ -3,7 +3,6 @@ import "./namespace-details.scss";
|
||||
import React from "react";
|
||||
import { computed } from "mobx";
|
||||
import { observer } from "mobx-react";
|
||||
import { Trans } from "@lingui/macro";
|
||||
import { DrawerItem } from "../drawer";
|
||||
import { cssNames } from "../../utils";
|
||||
import { Namespace } from "../../api/endpoints";
|
||||
@@ -39,11 +38,11 @@ export class NamespaceDetails extends React.Component<Props> {
|
||||
<div className="NamespaceDetails">
|
||||
<KubeObjectMeta object={namespace}/>
|
||||
|
||||
<DrawerItem name={<Trans>Status</Trans>}>
|
||||
<DrawerItem name="Status">
|
||||
<span className={cssNames("status", status.toLowerCase())}>{status}</span>
|
||||
</DrawerItem>
|
||||
|
||||
<DrawerItem name={<Trans>Resource Quotas</Trans>} className="quotas flex align-center">
|
||||
<DrawerItem name="Resource Quotas" className="quotas flex align-center">
|
||||
{!this.quotas && resourceQuotaStore.isLoading && <Spinner/>}
|
||||
{this.quotas.map(quota => {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user