diff --git a/client/src/components/Grid/GridHistory.vue b/client/src/components/Grid/GridHistory.vue
index 76229f380ea8..8c2de2194a11 100644
--- a/client/src/components/Grid/GridHistory.vue
+++ b/client/src/components/Grid/GridHistory.vue
@@ -1,11 +1,13 @@
@@ -32,7 +33,7 @@ const props = withDefaults(defineProps(), {
- Create Page
+ Create
diff --git a/client/src/components/Grid/configs/histories.ts b/client/src/components/Grid/configs/histories.ts
index 2c34d2b5a7e3..38d91185a78c 100644
--- a/client/src/components/Grid/configs/histories.ts
+++ b/client/src/components/Grid/configs/histories.ts
@@ -6,6 +6,7 @@ import {
faSignature,
faTrash,
faTrashRestore,
+ faUpload,
faUsers,
} from "@fortawesome/free-solid-svg-icons";
import { useEventBus } from "@vueuse/core";
@@ -52,8 +53,16 @@ async function getData(offset: number, limit: number, search: string, sort_by: s
*/
const actions: ActionArray = [
{
- title: "Import New History",
+ title: "Create",
icon: faPlus,
+ handler: () => {
+ const historyStore = useHistoryStore();
+ historyStore.createNewHistory();
+ },
+ },
+ {
+ title: "Import",
+ icon: faUpload,
handler: () => {
emit("/histories/import");
},