@@ -2,8 +2,7 @@
 | 
			
		||||
  import { _ } from "svelte-i18n";
 | 
			
		||||
  import { clickOutside } from "../base/outsideclick";
 | 
			
		||||
  import { focusTrap } from "svelte-focus-trap";
 | 
			
		||||
  import { DonationService, RunnerCardService, RunnerService } from "@odit/lfk-client-js";
 | 
			
		||||
  import Select from "svelte-select";
 | 
			
		||||
  import { DonationService } from "@odit/lfk-client-js";
 | 
			
		||||
  import Toastify from "toastify-js";
 | 
			
		||||
  export let payment_modal_open = false;
 | 
			
		||||
  export let current_donations = [];
 | 
			
		||||
@@ -40,6 +39,7 @@
 | 
			
		||||
      editable.donor = editable.donor.id;
 | 
			
		||||
      editable.paidAmount = amount_input*100;
 | 
			
		||||
      if(editable.responseType == "DISTANCEDONATION" || editable.runner){
 | 
			
		||||
        editable.runner = editable.runner.id;
 | 
			
		||||
        DonationService.donationControllerPutDistance(original_data.id, editable)
 | 
			
		||||
        .then((result) => {
 | 
			
		||||
          let id = original_data.id;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user