Skip to content

Commit 37983ba

Browse files
committed
chore: renaming of recentlyVisitedResources
1 parent 8288de2 commit 37983ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/ApplicationGroup/AppGroup.utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export const handleSourceNotConfigured = (
164164
export const envListOptions = (
165165
inputValue: string,
166166
signal: AbortSignal,
167-
recentlyVisitedDevtronApps: BaseRecentlyVisitedEntitiesTypes[],
167+
recentlyVisitedResources: BaseRecentlyVisitedEntitiesTypes[],
168168
): Promise<RecentlyVisitedGroupedOptionsType[]> =>
169169
new Promise((resolve) => {
170170
if (timeoutId) {
@@ -173,11 +173,11 @@ export const envListOptions = (
173173
timeoutId = setTimeout(() => {
174174
if (inputValue.length < 3) {
175175
resolve(
176-
recentlyVisitedDevtronApps?.length
176+
recentlyVisitedResources?.length
177177
? [
178178
{
179179
label: 'Recently Visited',
180-
options: recentlyVisitedDevtronApps.map((env: BaseRecentlyVisitedEntitiesTypes) => ({
180+
options: recentlyVisitedResources.map((env: BaseRecentlyVisitedEntitiesTypes) => ({
181181
label: env.name,
182182
value: env.id,
183183
isRecentlyVisited: true,

0 commit comments

Comments
 (0)