瀏覽代碼

[editor] Fix icon for SparkSQL snippets

Ivan Dzikovsky 2 年之前
父節點
當前提交
08034eaf56

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor2.mako

@@ -1230,7 +1230,7 @@ There is no bridge to KO for components using this integration. Example using in
       sparksql: {
         placeHolder: '${ _("Example: SELECT * FROM tablename, or press CTRL + space") }',
         aceMode: 'ace/mode/sparksql',
-        snippetImage: '${ static("beeswax/art/icon_spark_48.png") }',
+        snippetImage: '${ static("spark/art/icon_spark_48.png") }',
         sqlDialect: true
       },
       mapreduce: {

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -2224,7 +2224,7 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
       sparksql: {
         placeHolder: '${ _("Example: SELECT * FROM tablename, or press CTRL + space") }',
         aceMode: 'ace/mode/sparksql',
-        snippetImage: '${ static("beeswax/art/icon_spark_48.png") }',
+        snippetImage: '${ static("spark/art/icon_spark_48.png") }',
         sqlDialect: true
       },
       mapreduce: {