mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add logging to take picture on mobile
This commit is contained in:
@@ -760,8 +760,6 @@ export class NewPublicationPage implements OnInit {
|
||||
this.filecontent = true;
|
||||
|
||||
if (this.removeTextBeforeSlash(element.mimeType, '/') == "mp4") {
|
||||
|
||||
tracing.log("capture file from gallery", { base64: content.data })
|
||||
const newAttachment = new PublicationAttachmentEntity(
|
||||
{
|
||||
base64: content.data,
|
||||
@@ -779,8 +777,8 @@ export class NewPublicationPage implements OnInit {
|
||||
|
||||
} else {
|
||||
this.capturedImage = 'data:image/jpeg;base64,' + content.data;
|
||||
tracing.log("capture file from gallery", { base64: content.data })
|
||||
this.showCroppModal()
|
||||
tracing.hasError('failed to capture file from gallery')
|
||||
tracing.finish()
|
||||
/* const newAttachment = new PublicationAttachmentEntity(
|
||||
{
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
export let versionData = {
|
||||
"shortSHA": "739279d3e",
|
||||
"SHA": "739279d3e319d6e810224bbe838d2493c9f1bf22",
|
||||
"shortSHA": "4cf87b809",
|
||||
"SHA": "4cf87b809d2b30e3a19df6db00ea9f9437254f1b",
|
||||
"branch": "feature/agenda-api-peter",
|
||||
"lastCommitAuthor": "'Peter Maquiran'",
|
||||
"lastCommitTime": "'Fri Jul 26 18:19:08 2024 +0100'",
|
||||
"lastCommitTime": "'Fri Jul 26 18:21:49 2024 +0100'",
|
||||
"lastCommitMessage": "add logs",
|
||||
"lastCommitNumber": "5889",
|
||||
"changeStatus": "On branch feature/agenda-api-peter\nYour branch is ahead of 'origin/feature/agenda-api-peter' by 1 commit.\n (use \"git push\" to publish your local commits)\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: version/git-version.ts",
|
||||
"lastCommitNumber": "5890",
|
||||
"changeStatus": "On branch feature/agenda-api-peter\nYour branch is up to date with 'origin/feature/agenda-api-peter'.\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/publications/new-publication/new-publication.page.ts",
|
||||
"changeAuthor": "peter.maquiran"
|
||||
}
|
||||
Reference in New Issue
Block a user