File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/components/Extensibility Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,7 @@ export const ExtensibilityListCore = ({
123123 defaultSearch : true ,
124124 } ) ;
125125
126- const { description : subtitleText , url : emptyListUrl } =
127- getResourceDescAndUrl ( description ) ;
126+ const { url : emptyListUrl } = getResourceDescAndUrl ( description ) ;
128127
129128 return (
130129 < ResourcesList
@@ -143,10 +142,7 @@ export const ExtensibilityListCore = ({
143142 textSearchProperties ( defaultSearchProperties ) ,
144143 } }
145144 emptyListProps = { {
146- subtitleText :
147- subtitleText !== 'resource.description'
148- ? subtitleText
149- : newListProps . description . props . i18nKey ,
145+ subtitleText : newListProps ?. description ?. props ?. i18nKey ,
150146 url : emptyListUrl ,
151147 } }
152148 />
You can’t perform that action at this time.
0 commit comments