mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add necessary condition to enable build button
This commit is contained in:
		@@ -55,7 +55,7 @@ class CorpusDisplay extends RessourceDisplay {
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    for (let element of this.displayElement.querySelectorAll('.build-corpus-trigger')) {
 | 
			
		||||
      if (status === 'unprepared') {
 | 
			
		||||
      if (status === 'unprepared' && Object.values(this.corpus.files).length > 0) {
 | 
			
		||||
        element.classList.remove('disabled');
 | 
			
		||||
      } else {
 | 
			
		||||
        element.classList.add('disabled');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user