File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed
client/src/components/Workflow Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,7 @@ const owned = computed(() => {
4141});
4242
4343const description = computed (() => {
44- if (workflow .value ?.annotation ) {
45- return workflow .value .annotation ?.trim ();
46- } else {
47- return null ;
48- }
44+ return workflow .value ?.annotation ?.trim () || null ;
4945});
5046
5147const timeElapsed = computed (() => {
@@ -70,7 +66,11 @@ const workflowTags = computed(() => {
7066 </i >
7167 <span v-if =" invocationUpdateTime" class =" d-flex flex-gapx-1 align-items-center" >
7268 <FontAwesomeIcon :icon =" faHdd" />History:
73- <SwitchToHistoryLink :history-id =" props.historyId" />
69+
70+ <span class =" history-link-wrapper" >
71+ <SwitchToHistoryLink :history-id =" props.historyId" />
72+ </span >
73+
7474 <BBadge
7575 v-if =" useHistoryStore().currentHistoryId !== props.historyId"
7676 v-b-tooltip.hover.noninteractive
@@ -97,3 +97,18 @@ const workflowTags = computed(() => {
9797 </div >
9898 </div >
9999</template >
100+
101+ <style scoped lang="scss">
102+ .history-link-wrapper {
103+ max-width : 300px ;
104+
105+ & :deep (.history-link ) {
106+ a {
107+ overflow : hidden ;
108+ white-space : nowrap ;
109+ text-overflow : ellipsis ;
110+ display : block ;
111+ }
112+ }
113+ }
114+ </style >
You can’t perform that action at this time.
0 commit comments