mirror of
https://github.com/mue/mue.git
synced 2026-07-02 12:43:35 +02:00
style: cleanup items list
This commit is contained in:
@@ -70,8 +70,8 @@ export const MarketplaceDataProvider = ({ children }) => {
|
||||
packs[selectedItem.name] = selectedItem[selectedItem.type];
|
||||
localStorage.setItem(key, JSON.stringify(packs));
|
||||
|
||||
if (selectedItem.type === 'quotes' && localStorage.getItem('quoteType') !== 'quote_packs') {
|
||||
localStorage.setItem('quoteType', 'quote_packs');
|
||||
if (selectedItem.type === 'quotes' && localStorage.getItem('quoteType') !== 'quote_pack') {
|
||||
localStorage.setItem('quoteType', 'quote_pack');
|
||||
}
|
||||
|
||||
if (
|
||||
@@ -95,7 +95,7 @@ export const MarketplaceDataProvider = ({ children }) => {
|
||||
|
||||
if (
|
||||
selectedItem.type === 'quotes' &&
|
||||
localStorage.getItem('quoteType') === 'quote_packs' &&
|
||||
localStorage.getItem('quoteType') === 'quote_pack' &&
|
||||
localStorage.getItem('installed').length() === 0
|
||||
) {
|
||||
localStorage.setItem('quoteType', 'api');
|
||||
|
||||
@@ -44,10 +44,12 @@ function ItemCard({ item, type, onCollection, isCurator, cardStyle }) {
|
||||
e.target.src = placeholderIcon;
|
||||
}}
|
||||
/>
|
||||
{item.display_name}
|
||||
<div className="flex flex-col">
|
||||
<span className="text-base font-normal">{item.display_name}</span>
|
||||
<span className="text-xs text-neutral-400">{item.author}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>{variables.getMessage('marketplace:' + getName(item.type)) || 'marketplace'}</td>
|
||||
<td>{item.author}</td>
|
||||
<td className="text-base text-neutral-300 font-light">{variables.getMessage('marketplace:' + getName(item.type)) || 'marketplace'}</td>
|
||||
<td>
|
||||
<MdOpenInNew />
|
||||
</td>
|
||||
|
||||
@@ -13,7 +13,7 @@ const NewItems = ({ items, view }) => {
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>{variables.getMessage('settings:sections.quote.author')}</th>
|
||||
{/*<th>{variables.getMessage('settings:sections.quote.author')}</th>*/}
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Reference in New Issue
Block a user