mirror of
				https://github.com/Fabio286/antares.git
				synced 2025-06-05 21:59:22 +02:00 
			
		
		
		
	refactor: improved note tab selection
This commit is contained in:
		| @@ -55,10 +55,9 @@ export const useApplicationStore = defineStore('application', { | |||||||
|       }, |       }, | ||||||
|       showScratchpad (tag?: string) { |       showScratchpad (tag?: string) { | ||||||
|          this.isScratchpad = true; |          this.isScratchpad = true; | ||||||
|          if (tag) { |          if (!tag) tag = 'all'; | ||||||
|             const { selectedTag } = storeToRefs(useScratchpadStore()); |          const { selectedTag } = storeToRefs(useScratchpadStore()); | ||||||
|             selectedTag.value = tag; |          selectedTag.value = tag; | ||||||
|          } |  | ||||||
|       }, |       }, | ||||||
|       hideScratchpad () { |       hideScratchpad () { | ||||||
|          this.isScratchpad = false; |          this.isScratchpad = false; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user