Use rocket icon and show site title in nsite action headers
Changes 'deployed an nsite' to 'deployed Ditto' (or whatever the title tag contains) and swaps the Globe icon for a Rocket.
This commit is contained in:
@@ -5,8 +5,8 @@ import {
|
||||
FileText,
|
||||
GitBranch,
|
||||
GitPullRequest,
|
||||
Globe,
|
||||
MessageCircle,
|
||||
Rocket,
|
||||
MoreHorizontal,
|
||||
Package,
|
||||
Palette,
|
||||
@@ -1668,16 +1668,18 @@ const KIND_HEADER_MAP: Record<number, KindHeaderConfig> = {
|
||||
nounRoute: "/development",
|
||||
},
|
||||
15128: {
|
||||
icon: Globe,
|
||||
action: "deployed an",
|
||||
noun: "nsite",
|
||||
nounRoute: "/development",
|
||||
icon: Rocket,
|
||||
action: (tags) => {
|
||||
const title = tags.find(([n]) => n === "title")?.[1];
|
||||
return title ? `deployed ${title}` : "deployed an nsite";
|
||||
},
|
||||
},
|
||||
35128: {
|
||||
icon: Globe,
|
||||
action: "deployed an",
|
||||
noun: "nsite",
|
||||
nounRoute: "/development",
|
||||
icon: Rocket,
|
||||
action: (tags) => {
|
||||
const title = tags.find(([n]) => n === "title")?.[1];
|
||||
return title ? `deployed ${title}` : "deployed an nsite";
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user