File tree Expand file tree Collapse file tree 4 files changed +10509
-73
lines changed Expand file tree Collapse file tree 4 files changed +10509
-73
lines changed Original file line number Diff line number Diff line change 3636 uses : ' actions/checkout@v2'
3737 with :
3838 repository : ' ${{ github.repository }}'
39+ - name : ' [setup node]'
40+ uses : ' actions/setup-node@v2'
41+ with :
42+ node-version : ' 16'
3943 - name : ' [lint]'
4044 run : |
4145 echo TBA some linting
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export const TagMenu = (props: TagMenuProps) => {
111111 } }
112112 icon = { blacklist ? < MinusIcon /> : < ViewOffIcon /> }
113113 >
114- { blacklist ? 'Remove from blacklist ' : 'Add to blacklist ' }
114+ { blacklist ? 'Remove from blocklist ' : 'Add to blocklist ' }
115115 </ MenuItem >
116116 ) }
117117 { ! blacklist && (
@@ -131,7 +131,7 @@ export const TagMenu = (props: TagMenuProps) => {
131131 } }
132132 icon = { whitelist ? < MinusIcon /> : < ViewIcon /> }
133133 >
134- { whitelist ? 'Remove from whitelist ' : 'Add to whitelist ' }
134+ { whitelist ? 'Remove from allowlist ' : 'Add to allowlist ' }
135135 </ MenuItem >
136136 ) }
137137 </ >
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export const TagPanel = (props: TagPanelProps) => {
1717 } )
1818
1919 const currentTags = mode === 'blacklist' ? 'tagsBlacklist' : 'tagsWhitelist'
20+ const name = mode === 'blacklist' ? 'blocklist' : 'allowlist'
2021 const [ selectedItems , setSelectedItems ] = useState < typeof tagArray > (
2122 filter [ currentTags ] . map ( ( tag ) => {
2223 return { value : tag , label : tag }
@@ -27,7 +28,7 @@ export const TagPanel = (props: TagPanelProps) => {
2728 < CUIAutoComplete
2829 labelStyleProps = { { fontWeight : 300 , fontSize : 14 } }
2930 items = { tagArray }
30- label = { ' Add tag to ' + mode }
31+ label = { ` Add tag to ${ name } ` }
3132 placeholder = " "
3233 onCreateItem = { ( item ) => null }
3334 disableCreateItem = { true }
You can’t perform that action at this time.
0 commit comments