-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ftr: Integrate web app generator with event dashboard
- Earlier generate web app button was not working - Redirect to web app generator in a new tab and fill and submit form automatically by fetching details from the event dashboard - Create redirection web app generator url, pass it to views for button to work - Include the redirection host for development and production environment in environment config file - Update readme of local setup
- Loading branch information
1 parent
dc20caa
commit 817e36a
Showing
6 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import classic from 'ember-classic-decorator'; | ||
import { classNames } from '@ember-decorators/component'; | ||
import Component from '@ember/component'; | ||
import { computed } from '@ember/object'; | ||
import ENV from 'open-event-frontend/config/environment'; | ||
|
||
@classic | ||
@classNames('ui', 'fluid', 'card') | ||
export default class EventApps extends Component {} | ||
export default class EventApps extends Component { | ||
@computed('eventId') | ||
get webAppGeneratorUrl() { | ||
return `${ENV.appGenerator.webHost}/?email=${this.authManager.currentUser.email}&apiendpoint=${ENV.APP.apiHost}/${ENV.APP.apiNamespace}/events/${this.eventId}`; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters