mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-15 13:46:09 +01:00
feat: action buttons
This commit is contained in:
1 parent
e1a6e4e38d
commit
222b690fba
5 files changed
+55
-15
No files matched your search
@@ -8,7 +8,13 @@ interface Props extends PlaylistEntry {
|
||||
index: number;
|
||||
}
|
||||
|
||||
export function PlaylistTankEntry({ tank, checked, last, index }: Props) {
|
||||
export function PlaylistTankEntry({
|
||||
tank,
|
||||
checked,
|
||||
last,
|
||||
battles,
|
||||
index,
|
||||
}: Props) {
|
||||
const { locale, strings } = useLocale();
|
||||
const rtf = new Intl.RelativeTimeFormat(locale, { numeric: "auto" });
|
||||
const nowDays = Date.now() / (1000 * 60 * 60 * 24);
|
||||
@@ -26,6 +32,8 @@ export function PlaylistTankEntry({ tank, checked, last, index }: Props) {
|
||||
: strings.website.tools.playlist.table.never}
|
||||
</Table.Cell>
|
||||
|
||||
<Table.Cell>{battles}</Table.Cell>
|
||||
|
||||
<Table.Cell
|
||||
onClick={() => {
|
||||
Playlist.mutate((draft) => {
|
||||
|
||||
Reference in new issue
Block a user