Skip to content

Commit b44ad3a

Browse files
committed
changed the repo name lenght to 6 chars
1 parent f4dbd6c commit b44ad3a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

vis/js/templates/contextfeatures/DataSource.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ import React from "react";
22
import { shorten } from "../../utils/string";
33
import HoverPopover from "../HoverPopover";
44

5-
const MAX_CONTENT_PROVIDER_LENGTH = 20;
5+
const MAX_CONTENT_PROVIDER_LENGTH = 6;
66

77
const DataSource = ({ label, source, contentProvider, popoverContainer }) => {
88
if (contentProvider) {
9-
const content = (
10-
shorten(contentProvider, MAX_CONTENT_PROVIDER_LENGTH) + ` via ${source}`
11-
).replace("... via ", "...via ");
9+
const content = shorten(contentProvider, MAX_CONTENT_PROVIDER_LENGTH);
1210

1311
return (
1412
// html template starts here

0 commit comments

Comments
 (0)