nit on connect an app under resources picker

This commit is contained in:
Ruben Fiszel
2022-07-29 15:53:56 +02:00
parent 9ee60fd86c
commit dd4618b8bb
4 changed files with 8 additions and 5 deletions

View File

@@ -25,3 +25,6 @@
<option value={r.path}>{r.path}{r.description ? ' | ' + r.description : ''}</option>
{/each}
</select>
<a class="text-xs" target="_blank" href="/resources"
>Connect an app/add a resource on resources page</a
>

View File

@@ -180,8 +180,8 @@ export function getPickableProperties(
mode === 'pull' && i >= 1
? Object.assign(Object.assign(
{
_value: 'The current value of the iteration.',
_index: 'The current index of the iteration.'
_value: 'The current value of the iteration as an object',
_index: 'The current index of the iteration as a number'
},
flowInputAsObject), previewResults[0])

View File

@@ -31,7 +31,7 @@
}
}
function close() {
timeout = setTimeout(() => (isOpen = false), 200)
timeout = setTimeout(() => (isOpen = false), 50)
}
const dispatch = createEventDispatcher()

View File

@@ -36,7 +36,7 @@
if ($workspaceStore) {
if ($userStore) {
sendUserToast(`Welcome back ${$userStore.username} to ${$workspaceStore}`)
console.log(`Welcome back ${$userStore.username} to ${$workspaceStore}`)
} else if ($superadmin) {
console.log(
`You are a superadmin, you can go wherever you please, even at ${$workspaceStore}`
@@ -52,7 +52,7 @@
goto(`/user/workspaces?rd=${encodeURIComponent($page.url.pathname + $page.url.search)}`)
}
let user = await UserService.globalWhoami()
sendUserToast(`Welcome back ${user.email}`)
console.log(`Welcome back ${user.email}`)
}
} catch (e) {
console.error(e)