Logo-amall

https://github.com/nhost/nhost/blob/main/dashboard/src/components/applications/functions/normalizeFunctionMetadata.ts#L70 This sort function is not working at all. E.g. see the attached image: The `sync` folder is NOT a subfolder of `szamlazzhu`. Maybe I'm missing something, but I think since the `path` property is something like `parent/folder/function.ts`, a `lodash.sortBy(functions, ['path'])` would solve this mess. cc @Szilard

Last active 3 months ago

4 replies

10 views

  • KR

    https://github.com/nhost/nhost/blob/main/dashboard/src/components/applications/functions/normalizeFunctionMetadata.ts#L70
    This sort function is not working at all. E.g. see the attached image: The sync folder is NOT a subfolder of szamlazzhu.

    Maybe I'm missing something, but I think since the path property is something like parent/folder/function.ts, a lodash.sortBy(functions, ['path']) would solve this mess.
    cc @Szilard

  • SZ

    Hey @kratam, thanks for raising this issue. I'll ask @guicurcio to join this conversation. Maybe he has a quick solution for your problem.

  • SZ

    Hey @kratam, thanks for raising this issue. I'll ask @guicurcio to join this conversation. Maybe he has a quick solution for your problem.

  • GU

    For sure, we're going to look into this and deploy a fix promptly 👍

Last active 3 months ago

4 replies

10 views