Skip to content

Commit

Permalink
Merge branch 'tweaks' of github.com:voxel51/fiftyone into tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpkane committed Nov 10, 2022
2 parents 29a1d77 + 4476b06 commit cc75aa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/packages/core/src/components/Filters/withSuspense.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Body = styled.div`
export const LoadingContainer = ({ path }: { path?: string; text: string }) => {
return (
<Container>
{path && <Header>{path}</Header>}
{path && <Header>{path.split(".").slice(-1)[0]}</Header>}
<Body>
<LoadingDots text={"Loading"} />
</Body>
Expand Down
4 changes: 2 additions & 2 deletions app/packages/state/src/recoil/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const useLabelTagText = (modal: boolean) => {
useRecoilValueLoadable(readableTags({ modal, group: "label tags" }))
.state === "loading";

return { text: loading ? "Loading label tags..." : "No label tags", loading };
return { text: loading ? "Loading label tags" : "No label tags", loading };
};

export const useTagText = (modal: boolean) => {
Expand All @@ -108,7 +108,7 @@ export const useTagText = (modal: boolean) => {
"loading";

return {
text: loading ? `Loading ${singular} tags...` : `No ${singular} tags`,
text: loading ? `Loading ${singular} tags` : `No ${singular} tags`,
loading,
};
};
Expand Down
1 change: 0 additions & 1 deletion app/packages/utilities/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ const isURL = (() => {
const nonLocalhostDomainRE = /^[^\s\.]+\.\S{2,}$/;

return (string) => {
return true;
if (string.startsWith("gs://")) {
return false;
}
Expand Down

0 comments on commit cc75aa1

Please sign in to comment.