Moved code around
This commit is contained in:
		@@ -31,6 +31,16 @@
 | 
			
		||||
  $: selected =
 | 
			
		||||
    $table?.getSelectedRowModel().rows.map((row) => row.index) || [];
 | 
			
		||||
 | 
			
		||||
  $: active_delete = undefined;
 | 
			
		||||
  let dataLoaded = false;
 | 
			
		||||
  export let current_runners = [];
 | 
			
		||||
  $: sponsoring_contracts_show = selected.length > 0;
 | 
			
		||||
  $: cards_show = selected.length > 0;
 | 
			
		||||
  $: certificates_show = selected.length > 0;
 | 
			
		||||
  $: teams = [];
 | 
			
		||||
  $: orgs = [];
 | 
			
		||||
 | 
			
		||||
  //Section table
 | 
			
		||||
  const columns = [
 | 
			
		||||
    {
 | 
			
		||||
      accessorKey: "id",
 | 
			
		||||
@@ -103,17 +113,6 @@
 | 
			
		||||
      enableSorting: false,
 | 
			
		||||
    },
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  //
 | 
			
		||||
 | 
			
		||||
  $: active_delete = undefined;
 | 
			
		||||
  let dataLoaded = false;
 | 
			
		||||
  export let current_runners = [];
 | 
			
		||||
  $: sponsoring_contracts_show = selected.length > 0;
 | 
			
		||||
  $: cards_show = selected.length > 0;
 | 
			
		||||
  $: certificates_show = selected.length > 0;
 | 
			
		||||
  $: teams = [];
 | 
			
		||||
  $: orgs = [];
 | 
			
		||||
  const options = writable({
 | 
			
		||||
    data: [],
 | 
			
		||||
    columns: columns,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user