mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	@@ -56,7 +56,7 @@ export default function Scan() {
 | 
			
		||||
      // Prevent duplicates
 | 
			
		||||
      if (history.find((i) => i.model == item.model && i.pk == item.pk)) {
 | 
			
		||||
        showNotification({
 | 
			
		||||
          label: t`Duplicate`,
 | 
			
		||||
          title: t`Duplicate`,
 | 
			
		||||
          message: t`Item already scanned`,
 | 
			
		||||
          color: 'orange'
 | 
			
		||||
        });
 | 
			
		||||
 
 | 
			
		||||
@@ -42,6 +42,7 @@ export function CurrencyTable({
 | 
			
		||||
      .then(() => {
 | 
			
		||||
        table.refreshTable();
 | 
			
		||||
        showNotification({
 | 
			
		||||
          title: t`Success`,
 | 
			
		||||
          message: t`Exchange rates updated`,
 | 
			
		||||
          color: 'green'
 | 
			
		||||
        });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user