mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	fix: #1147 edit mask after creating a new mask
This commit is contained in:
		@@ -296,7 +296,10 @@ export function MaskPage() {
 | 
			
		||||
                icon={<AddIcon />}
 | 
			
		||||
                text={Locale.Mask.Page.Create}
 | 
			
		||||
                bordered
 | 
			
		||||
                onClick={() => maskStore.create()}
 | 
			
		||||
                onClick={() => {
 | 
			
		||||
                  const createdMask = maskStore.create();
 | 
			
		||||
                  setEditingMaskId(createdMask.id);
 | 
			
		||||
                }}
 | 
			
		||||
              />
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user