File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
components/zoho_bugtracker Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -208,9 +208,6 @@ export default {
208208 } = await getFileStreamAndMetadata ( uploaddoc ) ;
209209 const filename = metadata . name ;
210210 formData . append ( "uploaddoc" , stream , {
211- filename,
212- contentType : metadata . contentType ,
213- knownLength : metadata . size ,
214211 header : [
215212 `Content-Disposition: form-data; name="uploaddoc"; filename="${ filename } "` ,
216213 `Content-Type: ${ metadata . contentType } ` ,
Original file line number Diff line number Diff line change @@ -166,11 +166,11 @@ export default {
166166 portalId : {
167167 type : "string" ,
168168 label : "Portal Id" ,
169- description : "The Id of the portal. " ,
169+ description : "Select a portal or provide a portal ID " ,
170170 async options ( ) {
171171 const { portals } = await this . listPortals ( ) ;
172172
173- return portals . map ( ( {
173+ return portals ? .map ( ( {
174174 id_string : value , name : label ,
175175 } ) => ( {
176176 label,
@@ -181,7 +181,7 @@ export default {
181181 projectId : {
182182 type : "string" ,
183183 label : "Project Id" ,
184- description : "project. " ,
184+ description : "Select a project or provide a project ID " ,
185185 async options ( {
186186 page, portalId,
187187 } ) {
You can’t perform that action at this time.
0 commit comments