aglinxinyuan commented on code in PR #3664:
URL: https://github.com/apache/texera/pull/3664#discussion_r2281027354


##########
core/gui/src/app/dashboard/component/admin/settings/admin-settings.component.ts:
##########
@@ -204,8 +210,28 @@ export class AdminSettingsComponent implements OnInit {
   }
 
   saveDatasetSettings(): void {
-    if (this.maxFileSizeMB < 1 || this.maxConcurrentChunks < 1 || 
this.chunkSizeMB < 1) {
-      this.message.info("Value must be at least 1.");
+    if (this.maxFileSizeMB < 1 || this.maxFileSizeMB > this.MAX_FILE_SIZE_MB) {

Review Comment:
   This is not necessary. NzMin/NzMax and this are both frontend check, they 
are effectively the same.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to