I'm having a weird issue when biding the result of a firebase-element query from one element to another.
When I use the bindings from firebase-element in the project-list-fb data returns an object rather than an array.
It was pointed out to me in polymer-dev that repeat only works in arrays, not objects (which is what data is returning from firebase-element) How do you convert data to an array or something I can repeat over?
The example of the element where the issue happens is listed below.
<polymer-element name="project-app-fb">
<template>
<firebase-element id="base" location="https://project-list.firebaseio.com/" data="{{data}}">
</firebase-element>
<style></style>
<core-drawer-panel id="drawerPanel">
<core-header-panel drawer class="tall">
<core-toolbar>
<h3>Menu</h3>
</core-toolbar>
<project-menu on-menuItem="{{menuItem}}" id="pMenu"></project-menu>
</core-header-panel>
<core-header-panel main class="tall">
<core-toolbar>
<core-icon core-drawer-toggle
icon="menu"
alt="Menu for narrow displays">
</core-icon>
</core-toolbar>
<!--
Custom element holding project list, styles and scripts
Source: project-list-fb.html
-->
<project-list-fb data="{{data}}" on-edit-project=" {{editProject}} "></project-list-fb>
</core-header-panel>
</core-drawer-panel>
</template>
Any help is appreciated