File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
components/dialog/content Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 3535<script setup lang="ts">
3636import Button from ' primevue/button'
3737import Tag from ' primevue/tag'
38+ import { onBeforeUnmount } from ' vue'
3839import { useI18n } from ' vue-i18n'
3940
4041const { t } = useI18n ()
@@ -66,4 +67,8 @@ const { onClose } = defineProps<{
6667const handleLearnMore = () => {
6768 window .open (' https://blog.comfy.org/p/comfyui-native-api-nodes' , ' _blank' )
6869}
70+
71+ onBeforeUnmount (() => {
72+ localStorage .setItem (' api-nodes-news-seen' , ' true' )
73+ })
6974 </script >
Original file line number Diff line number Diff line change 12111211 },
12121212 "apiNodesNews" : {
12131213 "introducing" : " Introducing" ,
1214- "subtitle" : " All External Models now available in ComfyUI" ,
1214+ "subtitle" : " Access all the popular paid models natively in ComfyUI" ,
12151215 "steps" : {
12161216 "step1" : {
12171217 "title" : " Login/Create an account:" ,
Original file line number Diff line number Diff line change @@ -393,14 +393,14 @@ export const useDialogService = () => {
393393 key : 'api-nodes-news' ,
394394 component : ApiNodesNewsContent ,
395395 props : {
396+ dismissableMask : true ,
396397 onClose : ( ) => {
397398 dialogStore . closeDialog ( { key : 'api-nodes-news' } )
398399 localStorage . setItem ( 'api-nodes-news-seen' , 'true' )
399400 }
400401 } ,
401402 dialogComponentProps : {
402403 closable : false ,
403- modal : false ,
404404 position : 'bottomright'
405405 }
406406 } )
You can’t perform that action at this time.
0 commit comments