Wait until samples sync to set sample label in results workflow

Fix case where the result page would hang crash because the sample could not be found by ID because the sample collection hadn't synced yet.

Signed-off-by: Don Naegely <naegelyd@gmail.com>
It is possible. Even if you have selected a sample(or samples) that will be in `this.data.context` but there is no guarantee that `this.data.samples` has synced yet. In apps(some Varify instances) with many samples, the context can be synced before the sample and that is why we re-render when the samples return. This is usually only an issue when people directly navigate to the results page before opening another page first but that is why I added this 0 length check.