Skip to content

Commit

Permalink
fix: page meta for tickets and canned responses page
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Dec 7, 2024
1 parent e2e0b75 commit 54ae7eb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions desk/src/pages/CannedResponses.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ import {
TextEditor,
Tooltip,
call,
usePageMeta,
} from "frappe-ui";
import { CannedResponseModal } from "@/components/canned-response/";
import { LayoutHeader } from "@/components";
Expand Down Expand Up @@ -153,4 +154,10 @@ async function deleteItem(name) {
});
cannedResponses.reload();
}
usePageMeta(() => {
return {
title: "Canned Responses",
};
});
</script>
7 changes: 6 additions & 1 deletion desk/src/pages/Tickets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<script setup lang="ts">
import { ref, computed, onMounted, onUnmounted } from "vue";
import { useStorage } from "@vueuse/core";
import { createResource, Breadcrumbs } from "frappe-ui";
import { createResource, Breadcrumbs, usePageMeta } from "frappe-ui";
import { TicketsAgentList } from "@/components/ticket";
import { ViewControls, LayoutHeader } from "@/components";
import { useUserStore } from "@/stores/user";
Expand Down Expand Up @@ -369,4 +369,9 @@ onMounted(() => {
onUnmounted(() => {
socket.off("helpdesk:new-ticket");
});
usePageMeta(() => {
return {
title: "Tickets",
};
});
</script>

0 comments on commit 54ae7eb

Please sign in to comment.