File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
client/src/components/History Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,6 @@ function getHistoryTitleBadges(history: HistorySummary) {
289289 </template >
290290
291291 <template v-slot :item =" { item: history } " >
292- <!-- TODO: Long history names should be truncated, esp in multiview panel -->
293292 <GCard
294293 :id =" `history-${history.id}`"
295294 :data-pk =" history.id"
@@ -308,15 +307,12 @@ function getHistoryTitleBadges(history: HistorySummary) {
308307 title-size =" text"
309308 :title-badges =" getHistoryTitleBadges(history)"
310309 :title-n-lines =" 2"
310+ :description =" isMultiviewPanel ? undefined : history.annotation || undefined"
311311 :update-time =" history.update_time"
312312 @select =" historyClicked(history)"
313313 @tagClick =" setFilterValue('tag', $event)"
314314 @title-click =" historyClicked(history)"
315- @click =" () => historyClicked(history)" >
316- <template v-slot :description >
317- <small v-if =" !isMultiviewPanel && history.annotation" class =" my-1" >{{ history.annotation }}</small >
318- </template >
319- </GCard >
315+ @click =" () => historyClicked(history)" />
320316 </template >
321317
322318 <template v-slot :footer-button-area >
You can’t perform that action at this time.
0 commit comments