constants: Move URLs to constants
Fixes #1923 This moves all URLs from code to constants.
This commit is contained in:
parent
bb91840eef
commit
e9d28498e1
26 changed files with 146 additions and 68 deletions
|
|
@ -7,6 +7,7 @@ import { useFlag } from '@unleash/proxy-client-react';
|
|||
import { useDispatch } from 'react-redux';
|
||||
import { useNavigate, useLocation } from 'react-router-dom';
|
||||
|
||||
import { CREATING_IMAGES_WITH_IB_URL } from '../../constants';
|
||||
import {
|
||||
getNotificationProp,
|
||||
manageEdgeImagesUrlName,
|
||||
|
|
@ -33,9 +34,7 @@ const ImagesTable = () => {
|
|||
navigateProp={useNavigate}
|
||||
locationProp={useLocation}
|
||||
showHeaderProp={false}
|
||||
docLinkProp={
|
||||
'https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/creating_customized_images_by_using_insights_image_builder/index'
|
||||
}
|
||||
docLinkProp={CREATING_IMAGES_WITH_IB_URL}
|
||||
notificationProp={notificationProp}
|
||||
pathPrefix={resolveRelPath('')}
|
||||
urlName={manageEdgeImagesUrlName}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue