mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-28 11:40:04 +00:00
Converted over all text to i18n
This commit is contained in:
@@ -29,10 +29,6 @@ export interface TablePagination {
|
||||
}
|
||||
|
||||
export interface TableProps {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
* Columns
|
||||
*/
|
||||
@@ -50,13 +46,7 @@ export interface TableProps {
|
||||
*/
|
||||
sortBy?: string;
|
||||
}
|
||||
export const Table = ({
|
||||
title,
|
||||
columns,
|
||||
data,
|
||||
pagination,
|
||||
sortBy,
|
||||
}: TableProps) => {
|
||||
export const Table = ({ columns, data, pagination, sortBy }: TableProps) => {
|
||||
const getFormatter = (given: any) => {
|
||||
if (typeof given === "string") {
|
||||
switch (given) {
|
||||
@@ -177,11 +167,6 @@ export const Table = ({
|
||||
|
||||
return (
|
||||
<>
|
||||
{title ? (
|
||||
<div className="card-header">
|
||||
<h3 className="card-title">{title}</h3>
|
||||
</div>
|
||||
) : null}
|
||||
<div className="table-responsive">
|
||||
<table className="table card-table table-vcenter text-nowrap datatable">
|
||||
<thead>
|
||||
|
Reference in New Issue
Block a user