File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,8 @@ body {
221221 .button ,
222222 .select-text ,
223223 .dropdown > .dropdown-item ,
224- .title {
224+ .title ,
225+ input {
225226 font-size : 1rem !important ;
226227 }
227228}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const Settings = ({
2626 const [ collectionList , setCollectionList ] = useState ( [ ] ) ;
2727 const [ loading , setLoading ] = useState ( false ) ;
2828 const [ activeId , setActiveId ] = useState ( ) ;
29- const [ showJSON , setShowJSON ] = useState ( true ) ;
29+ const [ showJSON , setShowJSON ] = useState ( false ) ;
3030
3131 useEffect ( ( ) => {
3232 if ( activeCollectionId ) setActiveId ( activeCollectionId ) ;
@@ -80,6 +80,7 @@ const Settings = ({
8080 saveCollectionSettings = { saveCollectionSettings }
8181 loading = { loading }
8282 fetchSession = { fetchSession }
83+ activeId = { activeId }
8384 />
8485 ) }
8586 </ Drawer >
@@ -121,6 +122,7 @@ const CollectionSetting = ({
121122 saveCollectionSettings,
122123 loading,
123124 fetchSession,
125+ activeId,
124126} ) => {
125127 const [ localData , setLocalData ] = useState ( { } ) ;
126128
@@ -135,7 +137,7 @@ const CollectionSetting = ({
135137 const updateTagSettings = async ( data , { action } ) => {
136138 await axios . post (
137139 `/tags/operations` ,
138- { ...data , moduleName : "COLLECTION" } ,
140+ { ...data , moduleName : "COLLECTION" , moduleId : activeId } ,
139141 {
140142 params : { action } ,
141143 }
You can’t perform that action at this time.
0 commit comments