forked from jsnbuchanan/crowd-funder-for-time-pwa
Merge branch 'master' into ask-for-contacts-export
This commit is contained in:
@@ -1197,17 +1197,6 @@ export const NOTIFY_GIFTED_DETAILS_NO_IDENTIFIER = {
|
||||
message: "You must select an identifier before you can record a give.",
|
||||
};
|
||||
|
||||
export const NOTIFY_GIFTED_DETAILS_PROJECT_PROVIDER_INFO = {
|
||||
title: "Project Provider Info",
|
||||
message:
|
||||
"To select a project as a provider, you must open this page through a project.",
|
||||
};
|
||||
|
||||
export const NOTIFY_GIFTED_DETAILS_BOTH_PROVIDER_SELECTED = {
|
||||
title: "Invalid Selection",
|
||||
message: "You cannot select both a giving project and person.",
|
||||
};
|
||||
|
||||
export const NOTIFY_GIFTED_DETAILS_RECORDING_GIVE = {
|
||||
title: "",
|
||||
message: "Recording the give...",
|
||||
@@ -1605,7 +1594,7 @@ export function createImageDialogCameraErrorMessage(error: Error): string {
|
||||
|
||||
// Helper function for dynamic upload error messages
|
||||
// Used in: ImageMethodDialog.vue (uploadImage method - dynamic upload error message)
|
||||
export function createImageDialogUploadErrorMessage(error: any): string {
|
||||
export function createImageDialogUploadErrorMessage(error: unknown): string {
|
||||
if (axios.isAxiosError(error)) {
|
||||
const status = error.response?.status;
|
||||
const data = error.response?.data;
|
||||
|
||||
Reference in New Issue
Block a user