File tree 3 files changed +15
-13
lines changed
apps/content-editor/src/app/views/ItemList/TableCells 3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const SortCell = ({ params }: { params: GridRenderCellParams }) => {
17
17
( params . value ?. toString ( ) || "0" )
18
18
}
19
19
onChange = { ( evt ) => {
20
- handleChange ( parseInt ( evt . target . value ) ) ;
20
+ handleChange ( parseInt ( evt . target . value ) || 0 ) ;
21
21
} }
22
22
onClick = { ( e ) => e . stopPropagation ( ) }
23
23
InputProps = { {
Original file line number Diff line number Diff line change @@ -88,24 +88,24 @@ export default connect((state, props) => {
88
88
>
89
89
Create Head Tag
90
90
</ Button >
91
- < h1 >
91
+ < h3 >
92
92
< Notice >
93
93
Head tags are not versioned. Once saved they will take effect when
94
94
the page(s) are next cached. Caching occurs on publish or every 24
95
95
hours.
96
96
</ Notice >
97
- </ h1 >
97
+ </ h3 >
98
+ </ div >
99
+ < div className = { styles . Notice } >
100
+ { legacyHeadTags ?. length && (
101
+ < Box sx = { { mx : 2 } } component = "h3" >
102
+ < Notice >
103
+ This instance has legacy head tags. If you want to edit or
104
+ delete these, please contact support.
105
+ </ Notice >
106
+ </ Box >
107
+ ) }
98
108
</ div >
99
-
100
- { legacyHeadTags ?. length && (
101
- < Box sx = { { mx : 2 } } component = "h1" >
102
- < Notice >
103
- This instance has legacy head tags. If you want to edit or delete
104
- these, please contact support.
105
- </ Notice >
106
- </ Box >
107
- ) }
108
-
109
109
{ props . tags . length ? (
110
110
props . tags
111
111
. sort ( ( a , b ) => ( a . sort > b . sort ? 1 : - 1 ) )
Original file line number Diff line number Diff line change 17
17
display : flex ;
18
18
align-items : center ;
19
19
margin : 20px 16px 32px 16px ;
20
+ color : #5b667d ;
21
+ font-size : 14px ;
20
22
}
21
23
22
24
.NoTags {
You can’t perform that action at this time.
0 commit comments