mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix parseAPI not working with non-"namespaces" pathnames. (#450)
* fix parseApi not accepting versions that don't start with 'v' * add unit tests Signed-off-by: Sebastian Malton <smalton@mirantis.com> Co-authored-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
1 parent
0661954a27
commit
bce7aec87d
10 files changed
+182
-37
No files matched your search
@@ -19,10 +19,7 @@ export interface ChartDataSet extends ChartDataSets {
|
||||
}
|
||||
|
||||
export interface ChartProps {
|
||||
data: {
|
||||
labels?: Array<string | string[]>;
|
||||
datasets?: ChartDataSet[];
|
||||
};
|
||||
data: ChartData;
|
||||
width?: number | string;
|
||||
height?: number | string;
|
||||
options?: ChartOptions; // Passed to ChartJS instance
|
||||
|
||||
Reference in new issue
Block a user