mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Unshare public conversations from the title pane on web app
Only show the unshare button on public conversations created by the currently logged in user. Otherwise hide the button Set conversation.isOwner = true only if currently logged in user shared the current conversation. This isOwner information is passed by the get shared conversation API endpoint
This commit is contained in:
@@ -196,6 +196,7 @@ export interface ChatHistoryData {
|
||||
agent: AgentData;
|
||||
conversation_id: string;
|
||||
slug: string;
|
||||
is_owner: boolean;
|
||||
}
|
||||
|
||||
function sendFeedback(uquery: string, kquery: string, sentiment: string) {
|
||||
|
||||
Reference in New Issue
Block a user