WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 2a65682

Browse files
committed
fix: typo
1 parent ef01da2 commit 2a65682

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

custom/uploader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ onMounted(async () => {
141141
});
142142
if (resp.error) {
143143
adminforth.alert({
144-
message: t('Error getting file url for firld {field}:', { field: props.meta.pathColumnName }),
144+
message: t('Error getting file url for field {field}:', { field: props.meta.pathColumnName }),
145145
variant: 'danger'
146146
});
147147
return;

index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ export default class UploadPlugin extends AdminForthPlugin {
439439
return { error: 'Missing filePath' };
440440
}
441441
const allowedActions = await interpretResource( adminUser, this.resourceConfig, '', ActionCheckSource.CustomActionRequest, this.adminforth )
442-
console.log('allowedActions', allowedActions);
443442
if (allowedActions.allowedActions.create === true || allowedActions.allowedActions.edit === true) {
444443
const url = await this.options.storageAdapter.getDownloadUrl(filePath, 1800);
445444

0 commit comments

Comments
 (0)