removed PhasesTemplates Remainings
This commit is contained in:
@@ -2164,7 +2164,6 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
const messages = ref([])
|
const messages = ref([])
|
||||||
const createddocuments = ref([])
|
const createddocuments = ref([])
|
||||||
const workingtimes = ref([])
|
const workingtimes = ref([])
|
||||||
const phasesTemplates = ref([])
|
|
||||||
const emailAccounts = ref([])
|
const emailAccounts = ref([])
|
||||||
const texttemplates =ref([])
|
const texttemplates =ref([])
|
||||||
const resources =ref([])
|
const resources =ref([])
|
||||||
@@ -2198,7 +2197,6 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
await fetchMessages()
|
await fetchMessages()
|
||||||
await fetchCreatedDocuments()
|
await fetchCreatedDocuments()
|
||||||
await fetchWorkingTimes()
|
await fetchWorkingTimes()
|
||||||
await fetchPhasesTemplates()
|
|
||||||
await fetchEmailAccounts()
|
await fetchEmailAccounts()
|
||||||
await fetchTextTemplates()
|
await fetchTextTemplates()
|
||||||
await fetchResources()
|
await fetchResources()
|
||||||
@@ -2233,7 +2231,6 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
messages.value = []
|
messages.value = []
|
||||||
createddocuments.value = []
|
createddocuments.value = []
|
||||||
workingtimes.value = []
|
workingtimes.value = []
|
||||||
phasesTemplates.value = []
|
|
||||||
emailAccounts.value = []
|
emailAccounts.value = []
|
||||||
texttemplates.value = []
|
texttemplates.value = []
|
||||||
resources.value = []
|
resources.value = []
|
||||||
@@ -2867,10 +2864,6 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
workingtimes.value = (await supabase.from("workingtimes").select().eq('tenant', profileStore.currentTenant).order('created_at', {ascending:true})).data
|
workingtimes.value = (await supabase.from("workingtimes").select().eq('tenant', profileStore.currentTenant).order('created_at', {ascending:true})).data
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fetchPhasesTemplates() {
|
|
||||||
phasesTemplates.value = (await supabase.from("phasesTemplates").select().eq('tenant', profileStore.currentTenant).order('created_at', {ascending:true})).data
|
|
||||||
}
|
|
||||||
|
|
||||||
async function fetchEmailAccounts() {
|
async function fetchEmailAccounts() {
|
||||||
emailAccounts.value = (await supabase.from("emailAccounts").select().eq('tenant', profileStore.currentTenant)).data
|
emailAccounts.value = (await supabase.from("emailAccounts").select().eq('tenant', profileStore.currentTenant)).data
|
||||||
}
|
}
|
||||||
@@ -3219,7 +3212,6 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
messages,
|
messages,
|
||||||
createddocuments,
|
createddocuments,
|
||||||
workingtimes,
|
workingtimes,
|
||||||
phasesTemplates,
|
|
||||||
emailAccounts,
|
emailAccounts,
|
||||||
texttemplates,
|
texttemplates,
|
||||||
documentTypesForCreation,
|
documentTypesForCreation,
|
||||||
|
|||||||
Reference in New Issue
Block a user