@@ -13,6 +13,7 @@ import { fetchSeriesDetailsTobira, removeSeriesTobiraPath, setTobiraTabHierarchy
1313import { fetchSeriesDetailsTobiraNew , TobiraPage } from "../../../../slices/seriesSlice" ;
1414import ConfirmModal from "../../../shared/ConfirmModal" ;
1515import { Tooltip } from "../../../shared/Tooltip" ;
16+ import ButtonLikeAnchor from "../../../shared/ButtonLikeAnchor" ;
1617import { ModalHandle } from "../../../shared/modals/Modal" ;
1718import { fetchEventDetailsTobira } from "../../../../slices/eventDetailsSlice" ;
1819
@@ -213,9 +214,9 @@ const TobiraTable = ({ tobiraData, i18nKey, openSubTab, handleDelete }: TobiraTa
213214 < td className = "tobira-not-mounted" >
214215 { t ( `EVENTS.${ i18nKey } .DETAILS.TOBIRA.NOT_MOUNTED` ) }
215216 { i18nKey === "SERIES" && < Tooltip title = { t ( "EVENTS.SERIES.DETAILS.TOBIRA.MOUNT_SERIES" ) } >
216- < button
217+ < ButtonLikeAnchor
217218 style = { { margin : 5 } }
218- className = "button-like-anchor edit fa fa-pencil-square pull-right"
219+ extraClassName = " edit fa fa-pencil-square pull-right"
219220 onClick = { ( ) => openSubTab ( "edit-path" ) }
220221 />
221222 </ Tooltip > }
@@ -243,20 +244,18 @@ const TobiraTable = ({ tobiraData, i18nKey, openSubTab, handleDelete }: TobiraTa
243244 </ span >
244245 </ a >
245246 { i18nKey === "SERIES" && hostPage . blocks ?. length === 1 && < >
246- < Tooltip title = { t ( "EVENTS.SERIES.DETAILS.TOBIRA.REMOVE_PATH" ) } >
247- < button
248- style = { { margin : 5 } }
249- onClick = { ( ) => deleteConfirmationModalRef . current ?. open ( ) }
250- className = "button-like-anchor remove pull-right"
251- />
252- </ Tooltip >
253- < Tooltip title = { t ( "EVENTS.SERIES.DETAILS.TOBIRA.EDIT_PATH" ) } >
254- < button
255- style = { { margin : 5 } }
256- className = "button-like-anchor edit fa fa-pencil-square pull-right"
257- onClick = { ( ) => openSubTab ( "edit-path" , hostPage ) }
258- />
259- </ Tooltip >
247+ < ButtonLikeAnchor
248+ style = { { margin : 5 } }
249+ onClick = { ( ) => deleteConfirmationModalRef . current ?. open ( ) }
250+ extraClassName = "remove pull-right"
251+ tooltipText = "EVENTS.SERIES.DETAILS.TOBIRA.REMOVE_PATH"
252+ />
253+ < ButtonLikeAnchor
254+ style = { { margin : 5 } }
255+ extraClassName = "edit fa fa-pencil-square pull-right"
256+ onClick = { ( ) => openSubTab ( "edit-path" , hostPage ) }
257+ tooltipText = "EVENTS.SERIES.DETAILS.TOBIRA.EDIT_PATH"
258+ />
260259 < ConfirmModal
261260 close = { ( ) => deleteConfirmationModalRef . current ?. close ?.( ) }
262261 resourceName = { hostPage . path }
0 commit comments