FIX: Remove bad default query description and add placeholder instead

This commit is contained in:
Rishabh Nambiar 2018-08-19 10:24:53 +05:30
parent 915657b8cd
commit 42b6dbbae2
3 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,7 @@
{{text-field value=selectedItem.name}}
</div>
<div class="desc">
{{textarea value=selectedItem.description}}
{{textarea value=selectedItem.description placeholder=(i18n "explorer.description_placeholder")}}
</div>
{{else}}
<div class="name">

View File

@ -26,6 +26,7 @@ en:
title: "Data Explorer"
create: "Create New"
create_placeholder: "Query name..."
description_placeholder: "Enter a description here"
import:
label: "Import"
modal: "Import A Query"

View File

@ -571,7 +571,7 @@ SQL
def initialize
@name = 'Unnamed Query'
@description = 'Enter a description here'
@description = ''
@sql = 'SELECT 1'
end