File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Frontend/src/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ async function copyToClipboard() {
2222 </script >
2323
2424<template >
25- <Tippy content =" Copied" ref =" tippyRef" trigger =" manual" :title =" props.isIconOnly ? 'Copy to Clipboard' : ''" >
26- <button type =" button" class =" btn btn-secondary btn-sm" @click =" copyToClipboard" ><i class =" fa fa-copy" ></i > <span v-if =" !props.isIconOnly" >Copy to clipboard</span ></button >
25+ <Tippy content =" Copied" ref =" tippyRef" trigger =" manual" >
26+ <button v-if =" !props.isIconOnly" type =" button" class =" btn btn-secondary btn-sm" @click =" copyToClipboard" ><i class =" fa fa-copy" ></i > Copy to clipboard</button >
27+ <button v-else type =" button" class =" btn btn-secondary btn-sm" @click =" copyToClipboard" v-tippy =" 'Copy to clipboard'" ><i class =" fa fa-copy" ></i ></button >
2728 </Tippy >
2829</template >
You can’t perform that action at this time.
0 commit comments