From 2da2119e32071a825588366376afd92ce7a7806c Mon Sep 17 00:00:00 2001
From: Benjamin Renard <benjamin.renard@akka.eu>
Date: Fri, 28 Oct 2022 12:56:20 +0200
Subject: [PATCH] Minor fix

---
 js/app/views/OperationsTT.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/app/views/OperationsTT.js b/js/app/views/OperationsTT.js
index 34cab7b..785ce6d 100644
--- a/js/app/views/OperationsTT.js
+++ b/js/app/views/OperationsTT.js
@@ -67,7 +67,7 @@ Ext.define('amdaUI.OperationsTT', {
 	    	me.parent.TTGrid.getStore().reload();
 	    	
 			// Update historic field
-			if(!this.isCat){
+			if(!me.isCat){
 				var history = me.parent.formPanel.getForm().findField('history').getValue();
 				if (extend != 0) {
 					history += " \n Extended by "+ dir*extendForm + " " + extendUnit;
@@ -224,4 +224,4 @@ Ext.define('amdaUI.OperationsTT', {
         Ext.apply (this , Ext.apply (this.initialConfig, config));
         this.callParent(arguments);
   }
- });           
\ No newline at end of file
+ });           
--
libgit2 0.21.2