File tree 4 files changed +10509
-73
lines changed
4 files changed +10509
-73
lines changed Original file line number Diff line number Diff line change 36
36
uses : ' actions/checkout@v2'
37
37
with :
38
38
repository : ' ${{ github.repository }}'
39
+ - name : ' [setup node]'
40
+ uses : ' actions/setup-node@v2'
41
+ with :
42
+ node-version : ' 16'
39
43
- name : ' [lint]'
40
44
run : |
41
45
echo TBA some linting
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export const TagMenu = (props: TagMenuProps) => {
111
111
} }
112
112
icon = { blacklist ? < MinusIcon /> : < ViewOffIcon /> }
113
113
>
114
- { blacklist ? 'Remove from blacklist ' : 'Add to blacklist ' }
114
+ { blacklist ? 'Remove from blocklist ' : 'Add to blocklist ' }
115
115
</ MenuItem >
116
116
) }
117
117
{ ! blacklist && (
@@ -131,7 +131,7 @@ export const TagMenu = (props: TagMenuProps) => {
131
131
} }
132
132
icon = { whitelist ? < MinusIcon /> : < ViewIcon /> }
133
133
>
134
- { whitelist ? 'Remove from whitelist ' : 'Add to whitelist ' }
134
+ { whitelist ? 'Remove from allowlist ' : 'Add to allowlist ' }
135
135
</ MenuItem >
136
136
) }
137
137
</ >
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export const TagPanel = (props: TagPanelProps) => {
17
17
} )
18
18
19
19
const currentTags = mode === 'blacklist' ? 'tagsBlacklist' : 'tagsWhitelist'
20
+ const name = mode === 'blacklist' ? 'blocklist' : 'allowlist'
20
21
const [ selectedItems , setSelectedItems ] = useState < typeof tagArray > (
21
22
filter [ currentTags ] . map ( ( tag ) => {
22
23
return { value : tag , label : tag }
@@ -27,7 +28,7 @@ export const TagPanel = (props: TagPanelProps) => {
27
28
< CUIAutoComplete
28
29
labelStyleProps = { { fontWeight : 300 , fontSize : 14 } }
29
30
items = { tagArray }
30
- label = { ' Add tag to ' + mode }
31
+ label = { ` Add tag to ${ name } ` }
31
32
placeholder = " "
32
33
onCreateItem = { ( item ) => null }
33
34
disableCreateItem = { true }
You can’t perform that action at this time.
0 commit comments