mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-10-23 14:56:13 +08:00
change copy text to Copy full ID to clipboard
This commit is contained in:
@@ -314,13 +314,12 @@ function Row(props: RowProps) {
|
||||
<TableCell component="th" scope="row" className={classes.idCell}>
|
||||
<div className={classes.IdGroup}>
|
||||
{uuidPrefix(task.id)}
|
||||
<Tooltip title="Copy text to clipboard">
|
||||
<Tooltip title="Copy full ID to clipboard">
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
navigator.clipboard.writeText(task.id)
|
||||
}
|
||||
}
|
||||
}}
|
||||
size="small"
|
||||
className={classes.copyButton}
|
||||
>
|
||||
|
@@ -353,7 +353,7 @@ function Row(props: RowProps) {
|
||||
<TableCell component="th" scope="row" className={classes.idCell}>
|
||||
<div className={classes.IdGroup}>
|
||||
{uuidPrefix(task.id)}
|
||||
<Tooltip title="Copy text to clipboard">
|
||||
<Tooltip title="Copy full ID to clipboard">
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
|
@@ -322,7 +322,7 @@ function Row(props: RowProps) {
|
||||
<TableCell component="th" scope="row" className={classes.idCell}>
|
||||
<div className={classes.IdGroup}>
|
||||
{uuidPrefix(task.id)}
|
||||
<Tooltip title="Copy text to clipboard">
|
||||
<Tooltip title="Copy full ID to clipboard">
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
|
@@ -350,15 +350,15 @@ function Row(props: RowProps) {
|
||||
/>
|
||||
</IconButton>
|
||||
</TableCell>
|
||||
<TableCell component="th" scope="row" className={classes.idCell} >
|
||||
<TableCell component="th" scope="row" className={classes.idCell}>
|
||||
<div className={classes.IdGroup}>
|
||||
{uuidPrefix(task.id)}
|
||||
<Tooltip title="Copy text to clipboard">
|
||||
<Tooltip title="Copy full ID to clipboard">
|
||||
<IconButton
|
||||
onClick={(e) =>{
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
navigator.clipboard.writeText(task.id) }
|
||||
}
|
||||
navigator.clipboard.writeText(task.id)
|
||||
}}
|
||||
size="small"
|
||||
className={classes.copyButton}
|
||||
>
|
||||
|
@@ -382,13 +382,12 @@ function Row(props: RowProps) {
|
||||
<TableCell component="th" scope="row" className={classes.idCell}>
|
||||
<div className={classes.IdGroup}>
|
||||
{uuidPrefix(task.id)}
|
||||
<Tooltip title="Copy text to clipboard">
|
||||
<Tooltip title="Copy full ID to clipboard">
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
navigator.clipboard.writeText(task.id)
|
||||
}
|
||||
}
|
||||
}}
|
||||
size="small"
|
||||
className={classes.copyButton}
|
||||
>
|
||||
|
@@ -391,13 +391,12 @@ function Row(props: RowProps) {
|
||||
<TableCell component="th" scope="row" className={classes.idCell}>
|
||||
<div className={classes.IdGroup}>
|
||||
{uuidPrefix(task.id)}
|
||||
<Tooltip title="Copy text to clipboard">
|
||||
<Tooltip title="Copy full ID to clipboard">
|
||||
<IconButton
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
navigator.clipboard.writeText(task.id)
|
||||
}
|
||||
}
|
||||
}}
|
||||
size="small"
|
||||
className={classes.copyButton}
|
||||
>
|
||||
|
Reference in New Issue
Block a user