t.id}
- emptyMessage={
- hasActiveFilters
- ? 'No tags match your filters. Try adjusting your search.'
- : 'No tags yet. Upload an artifact with a tag to create one!'
- }
- onSort={(key) => {
- if (key === sort) {
- handleSortChange(key, order === 'asc' ? 'desc' : 'asc');
- } else {
- handleSortChange(key, 'asc');
+
+ t.id}
+ emptyMessage={
+ hasActiveFilters
+ ? 'No tags match your filters. Try adjusting your search.'
+ : 'No tags yet. Upload an artifact with a tag to create one!'
}
- }}
- sortKey={sort}
- sortOrder={order}
- />
+ onSort={handleSortChange}
+ sortKey={sort}
+ sortOrder={order}
+ />
+
{pagination && pagination.total_pages > 1 && (