Skip to content

Commit

Permalink
name of run of edited agent, allowing apollo toolkit, adding of logo …
Browse files Browse the repository at this point in the history
…of apollo.io (TransformerOptimus#1028)
  • Loading branch information
namansleeps authored Aug 10, 2023
1 parent e73bba1 commit 194d763
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gui/pages/Content/Agents/AgentCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ export default function AgentCreate({
setEditButtonClicked(true);
agentData.agent_id = editAgentId;
const name = agentData.name
agentData.name = `New Run ${new Date()}`
agentData.name = "New Run"
addAgentRun(agentData)
.then((response) => {
if(response){
Expand Down
3 changes: 1 addition & 2 deletions gui/pages/Dashboard/Content.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ export default function Content({env, selectedView, selectedProjectId, organisat
try {
const response = await getToolKit();
const data = response.data || [];
const filteredData = data.filter(item => item.name !== "ApolloToolkit");
const updatedData = filteredData.map(item => {
const updatedData = data.map(item => {
let updatedName = item.name === "Web Scrapper Toolkit" ? "Web Scraper Toolkit" : item.name;
return {...item,name: updatedName, contentType: "Toolkits", isOpen: false, internalId: createInternalId()};
});
Expand Down
Binary file added gui/public/images/apollo_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions gui/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const toolkitData = {
'Instagram Toolkit': '/images/instagram.png',
'Knowledge Search Toolkit': '/images/knowledeg_logo.png',
'Notion Toolkit': '/images/notion_logo.png',
'ApolloToolkit': '/images/apollo_logo.png',
};

export const getUserTimezone = () => {
Expand Down

0 comments on commit 194d763

Please sign in to comment.