itizawa 6 lat temu
rodzic
commit
44c01f1d09

+ 1 - 1
src/client/js/components/Me/ProfileImageSettings.jsx

@@ -133,7 +133,7 @@ class ProfileImageSettings extends React.Component {
               </label>
               </label>
               <div className="col-sm-8">
               <div className="col-sm-8">
                 {uploadedPictureSrc && (<p><img src={uploadedPictureSrc} className="picture picture-lg img-circle" id="settingUserPicture" /></p>)}
                 {uploadedPictureSrc && (<p><img src={uploadedPictureSrc} className="picture picture-lg img-circle" id="settingUserPicture" /></p>)}
-                {/* TODO create apiV3 for delete image */}
+                {/* TODO GW-1218 create apiV3 for delete image */}
                 <button type="button" className="btn btn-danger">{ t('Delete Image') }</button>
                 <button type="button" className="btn btn-danger">{ t('Delete Image') }</button>
               </div>
               </div>
             </div>
             </div>

+ 2 - 2
src/client/js/services/PersonalContainer.js

@@ -188,8 +188,8 @@ export default class PersonalContainer extends Container {
     formData.append('file', file);
     formData.append('file', file);
 
 
     try {
     try {
-      // TODO create apiV3
-      await this.appContainer.apiPost('/attachments.uploadProfileImage', formData);
+      // TODO GW-1218 api
+      // await this.appContainer.apiPost('/attachments.uploadProfileImage', formData);
     }
     }
     catch (err) {
     catch (err) {
       this.setState({ retrieveError: err });
       this.setState({ retrieveError: err });