Releasing 1.0.4 into test
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Has been cancelled
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: Chore App Build and Push Docker Images
|
||||
run-name: ${{ gitea.actor }} is building the chore app 🚀
|
||||
name: Chore App Build, Test, and Push Docker Images
|
||||
run-name: ${{ gitea.actor }} is building the Chores [${{ gitea.ref_name }}@${{ gitea.sha }}] 🚀
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# file: config/version.py
|
||||
import os
|
||||
|
||||
BASE_VERSION = "1.0.4RC5" # update manually when releasing features
|
||||
BASE_VERSION = "1.0.4" # update manually when releasing features
|
||||
|
||||
def get_full_version() -> str:
|
||||
"""
|
||||
|
||||
@@ -8,7 +8,6 @@ export function useBackendEvents(userId: Ref<string>) {
|
||||
const connect = () => {
|
||||
if (eventSource) eventSource.close()
|
||||
if (userId.value) {
|
||||
console.log('Connecting to backend events for user:', userId.value)
|
||||
eventSource = new EventSource(`/events?user_id=${userId.value}`)
|
||||
|
||||
eventSource.onmessage = (event) => {
|
||||
@@ -24,7 +23,6 @@ export function useBackendEvents(userId: Ref<string>) {
|
||||
onMounted(connect)
|
||||
watch(userId, connect)
|
||||
onBeforeUnmount(() => {
|
||||
console.log('Disconnecting from backend events for user:', userId.value)
|
||||
eventSource?.close()
|
||||
})
|
||||
}
|
||||
|
||||
@@ -36,7 +36,6 @@ const avatarInitial = ref<string>('?')
|
||||
// Fetch user profile
|
||||
async function fetchUserProfile() {
|
||||
try {
|
||||
console.log('Fetching user profile')
|
||||
const res = await fetch('/api/user/profile', { credentials: 'include' })
|
||||
if (!res.ok) {
|
||||
console.error('Failed to fetch user profile')
|
||||
|
||||
Reference in New Issue
Block a user