소스 검색

[frontend] Fix incorrect import in component docs

Johan Ahlen 4 년 전
부모
커밋
89440b8aa3

+ 1 - 1
desktop/core/src/desktop/js/components/HueTable.test.ts

@@ -100,7 +100,7 @@ describe('HueTable.vue', () => {
     expect(wrapper.element).toMatchSnapshot();
   });
 
-  it('should render a stickt table with header and column css', () => {
+  it('should render a sticky table with header and column css', () => {
     const wrapper = shallowMount(HueTable, {
       propsData: {
         columns: <Column<{ [key: string]: unknown }>[]>[

+ 1 - 1
desktop/core/src/desktop/js/components/__snapshots__/HueTable.test.ts.snap

@@ -1,6 +1,6 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`HueTable.vue should render a stickt table with header and column css 1`] = `
+exports[`HueTable.vue should render a sticky table with header and column css 1`] = `
 <div
   class="hue-table-container"
 >

+ 1 - 1
docs/docs-site/content/developer/components/_index.md

@@ -84,4 +84,4 @@ Please refer these [demo apps](https://github.com/cloudera/hue/tree/master/tools
 
 Internally these components are created using Vue.js & TypeScript. So you can even use them as plain Vue component, and take advantage of Vue features. Vue version of the components are under `gethue/components`.
 
-    import ERDiagram from 'gethue/lib/components/er-diagram/index.vue';
+    import ERDiagram from 'gethue/components/er-diagram/index.vue';