Fix currentApiClient references
This commit is contained in:
parent
8bc8255a3e
commit
54d71126d9
11 changed files with 14 additions and 14 deletions
|
@ -13,7 +13,7 @@ export default class PhotoPlayer {
|
|||
import('../../components/slideshow/slideshow').then(({default: Slideshow}) => {
|
||||
var index = options.startIndex || 0;
|
||||
|
||||
var apiClient = ConnectionManager.currentApiClient();
|
||||
var apiClient = window.ConnectionManager.currentApiClient();
|
||||
apiClient.getCurrentUser().then(function(result) {
|
||||
var newSlideShow = new Slideshow({
|
||||
showTitle: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue