mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Disable 'Create' button if no indices are found. Closes #330
This commit is contained in:
parent
b31a7815c8
commit
0aa6d2aa2d
1 changed files with 2 additions and 2 deletions
|
@ -111,10 +111,10 @@
|
|||
</div>
|
||||
|
||||
<button
|
||||
ng-disabled="form.$invalid"
|
||||
ng-disabled="form.$invalid || index.fetchFieldsError"
|
||||
type="submit"
|
||||
class="btn btn-success">
|
||||
Create
|
||||
{{index.fetchFieldsError ? "No indices found" : "Create" }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue