mirror of
				https://github.com/Fabio286/antares.git
				synced 2025-06-05 21:59:22 +02:00 
			
		
		
		
	fix: manual page input not disabled when only one page is available
This commit is contained in:
		| @@ -458,8 +458,13 @@ export default { | ||||
|                   : this.localRow.default | ||||
|                : ''; | ||||
|          } | ||||
|          else if (this.defaultValue.type === 'expression') | ||||
|          else if (this.defaultValue.type === 'expression') { | ||||
|             console.log(this.localRow.default); | ||||
|             if (this.localRow.default.toUpperCase().includes('ON UPDATE')) | ||||
|                this.defaultValue.expression = this.localRow.default.replace(/ on update.*$/i, ''); | ||||
|             else | ||||
|                this.defaultValue.expression = this.localRow.default; | ||||
|          } | ||||
|       }, | ||||
|       editON (event, content, field) { | ||||
|          if (field === 'length') { | ||||
|   | ||||
| @@ -328,7 +328,7 @@ export default { | ||||
|          this.getTableData(); | ||||
|       }, | ||||
|       openPageMenu () { | ||||
|          if (this.isQuering) return; | ||||
|          if (this.isQuering || (this.results.length && this.results[0].rows.length < this.limit && this.page === 1)) return; | ||||
|  | ||||
|          this.isPageMenu = true; | ||||
|          if (this.isPageMenu) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user