mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 13:02:43 +00:00
Update Theme Selector display
For User/Brew Themes, display the first author instead of Brew/V3 in the first column.
This commit is contained in:
@@ -75,7 +75,8 @@ const api = {
|
||||
'editId',
|
||||
'thumbnail',
|
||||
'textBin',
|
||||
'text'
|
||||
'text',
|
||||
'authors'
|
||||
];
|
||||
|
||||
const userThemes = {
|
||||
@@ -93,6 +94,7 @@ const api = {
|
||||
renderer : 'V3',
|
||||
baseTheme : '',
|
||||
baseSnippets : false,
|
||||
author : brew.authors[0],
|
||||
path : `#${brew.editId}`,
|
||||
thumbnail : brew.thumbnail.length > 0 ? brew.thumbnail : '/assets/naturalCritLogoWhite.svg'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user