refactor(admin): remove separate Artist column from Song Library
This commit is contained in:
@@ -1063,12 +1063,7 @@ export default function AdminPage() {
|
||||
>
|
||||
Title {sortField === 'title' && (sortDirection === 'asc' ? '↑' : '↓')}
|
||||
</th>
|
||||
<th
|
||||
style={{ padding: '0.75rem', cursor: 'pointer', userSelect: 'none' }}
|
||||
onClick={() => handleSort('artist')}
|
||||
>
|
||||
Artist {sortField === 'artist' && (sortDirection === 'asc' ? '↑' : '↓')}
|
||||
</th>
|
||||
|
||||
<th style={{ padding: '0.75rem' }}>Genres</th>
|
||||
<th
|
||||
style={{ padding: '0.75rem', cursor: 'pointer', userSelect: 'none' }}
|
||||
@@ -1093,16 +1088,16 @@ export default function AdminPage() {
|
||||
value={editTitle}
|
||||
onChange={e => setEditTitle(e.target.value)}
|
||||
className="form-input"
|
||||
style={{ padding: '0.25rem' }}
|
||||
style={{ padding: '0.25rem', marginBottom: '0.5rem', width: '100%' }}
|
||||
placeholder="Title"
|
||||
/>
|
||||
</td>
|
||||
<td style={{ padding: '0.75rem' }}>
|
||||
<input
|
||||
type="text"
|
||||
value={editArtist}
|
||||
onChange={e => setEditArtist(e.target.value)}
|
||||
className="form-input"
|
||||
style={{ padding: '0.25rem' }}
|
||||
style={{ padding: '0.25rem', width: '100%' }}
|
||||
placeholder="Artist"
|
||||
/>
|
||||
</td>
|
||||
<td style={{ padding: '0.75rem' }}>
|
||||
|
||||
Reference in New Issue
Block a user