Skip to content

Commit

Permalink
fix(messages): show fewer messages
Browse files Browse the repository at this point in the history
Here is an idea for #189, which also maintains the context for warnings.
  • Loading branch information
marisademeglio committed Jun 28, 2024
1 parent d1475f4 commit af03196
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/renderer/components/TtsEnginesConfig/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ export function TtsEnginesConfigPane({
they will be available under 'Voices'.
</p>
<ul>
{/* {Object.keys(engineNames).map((engineKeyPrefix, idx) => ( */}
{engineIds.map((engineId, idx) => (
<li key={engineId + '-' + idx}>
{pipeline.ttsEnginesStates[
Expand Down
4 changes: 4 additions & 0 deletions src/renderer/style/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ p.warning {
margin-bottom: calc(var(--pad));
}
}

ul li:not(.warning):not(:last-of-type):not(:has(.warning)) {
display: none;
}
}

.job-results {
Expand Down

0 comments on commit af03196

Please sign in to comment.