Unverified Commit ad659adb authored by davelopez's avatar davelopez
Browse files

Expose currentHistory in useUserHistories composable

parent 1f0984e4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -15,6 +15,10 @@ export function useUserHistories(user) {
    );

    const currentHistoryId = computed(() => historyStore.currentHistoryId);
    const currentHistory = computed(() => historyStore.currentHistory);

    return { currentHistoryId };
    return {
        currentHistoryId,
        currentHistory,
    };
}