mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
[Cleanup] Remove unused dialog functions (#3588)
This commit is contained in:
@@ -19,7 +19,6 @@ import { useFirebaseAuth } from 'vuefire'
|
|||||||
|
|
||||||
import { COMFY_API_BASE_URL } from '@/config/comfyApi'
|
import { COMFY_API_BASE_URL } from '@/config/comfyApi'
|
||||||
import { t } from '@/i18n'
|
import { t } from '@/i18n'
|
||||||
import { useDialogService } from '@/services/dialogService'
|
|
||||||
import { operations } from '@/types/comfyRegistryTypes'
|
import { operations } from '@/types/comfyRegistryTypes'
|
||||||
|
|
||||||
import { useToastStore } from './toastStore'
|
import { useToastStore } from './toastStore'
|
||||||
@@ -271,14 +270,6 @@ export const useFirebaseAuthStore = defineStore('firebaseAuth', () => {
|
|||||||
): Promise<CreditPurchaseResponse | null> =>
|
): Promise<CreditPurchaseResponse | null> =>
|
||||||
executeAuthAction((_) => addCredits(requestBodyContent))
|
executeAuthAction((_) => addCredits(requestBodyContent))
|
||||||
|
|
||||||
const openSignInPanel = () => {
|
|
||||||
useDialogService().showSettingsDialog('user')
|
|
||||||
}
|
|
||||||
|
|
||||||
const openCreditsPanel = () => {
|
|
||||||
useDialogService().showSettingsDialog('credits')
|
|
||||||
}
|
|
||||||
|
|
||||||
const accessBillingPortal = async (
|
const accessBillingPortal = async (
|
||||||
requestBody?: AccessBillingPortalReqBody
|
requestBody?: AccessBillingPortalReqBody
|
||||||
): Promise<AccessBillingPortalResponse | null> => {
|
): Promise<AccessBillingPortalResponse | null> => {
|
||||||
@@ -332,8 +323,6 @@ export const useFirebaseAuthStore = defineStore('firebaseAuth', () => {
|
|||||||
loginWithGoogle,
|
loginWithGoogle,
|
||||||
loginWithGithub,
|
loginWithGithub,
|
||||||
initiateCreditPurchase,
|
initiateCreditPurchase,
|
||||||
openSignInPanel,
|
|
||||||
openCreditsPanel,
|
|
||||||
fetchBalance,
|
fetchBalance,
|
||||||
accessBillingPortal,
|
accessBillingPortal,
|
||||||
sendPasswordReset
|
sendPasswordReset
|
||||||
|
|||||||
Reference in New Issue
Block a user