|
|
|
@ -218,6 +218,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
|
|
|
|
|
} catch (e: any) { |
|
|
|
|
message.error(`${t('msg.error.failedToLoadList')}: ${await extractSdkResponseErrorMsg(e)}`) |
|
|
|
|
} finally { |
|
|
|
|
// To Keep the Loading State for Minimum 600ms
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
isChildrenExcludedLoading.value = false |
|
|
|
|
}, 600) |
|
|
|
@ -273,6 +274,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
|
|
|
|
|
} catch (e: any) { |
|
|
|
|
message.error(`${t('msg.error.failedToLoadChildrenList')}: ${await extractSdkResponseErrorMsg(e)}`) |
|
|
|
|
} finally { |
|
|
|
|
// To Keep the Loading State for Minimum 600ms
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
isChildrenLoading.value = false |
|
|
|
|
}, 600) |
|
|
|
@ -371,6 +373,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
|
|
|
|
|
} catch (e: any) { |
|
|
|
|
message.error(`${t('msg.error.unlinkFailed')}: ${await extractSdkResponseErrorMsg(e)}`) |
|
|
|
|
} finally { |
|
|
|
|
// To Keep the Loading State for Minimum 600ms
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
isChildrenExcludedListLoading.value[index] = false |
|
|
|
|
isChildrenListLoading.value[index] = false |
|
|
|
@ -438,6 +441,8 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
|
|
|
|
|
} catch (e: any) { |
|
|
|
|
message.error(`Linking failed: ${await extractSdkResponseErrorMsg(e)}`) |
|
|
|
|
} finally { |
|
|
|
|
// To Keep the Loading State for Minimum 600ms
|
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
isChildrenExcludedListLoading.value[index] = false |
|
|
|
|
isChildrenListLoading.value[index] = false |
|
|
|
|