Skip to content

Commit

Permalink
Fix gallery app.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Apr 24, 2024
1 parent 697d34b commit cad461d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
1 change: 1 addition & 0 deletions server_manager/web_app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import * as digitalocean from '../model/digitalocean';
import * as gcp from '../model/gcp';
import type {CloudLocation} from '../model/location';
import * as server_model from '../model/server';
import { FeedbackDetail } from './ui_components/outline-feedback-dialog';


// The Outline DigitalOcean team's referral code:
Expand Down
16 changes: 6 additions & 10 deletions server_manager/web_app/gallery_app/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
// limitations under the License.

import '../ui_components/outline-about-dialog';
import '../ui_components/outline-contact-dialog';
import '../ui_components/outline-contact-us-dialog';
import '../ui_components/outline-do-oauth-step';
import '../ui_components/outline-gcp-oauth-step';
import '../ui_components/outline-gcp-create-server-app';
import '../ui_components/outline-server-view';
import '../ui_components/outline-share-dialog';
import '../ui_components/outline-sort-span';
import '../ui_components/outline-survey-dialog';
import '../ui_components/outline-per-key-data-limit-dialog';
import '../outline-gcp-create-server-app';
import '@polymer/paper-checkbox/paper-checkbox';
import '@polymer/paper-dialog/paper-dialog';

Expand Down Expand Up @@ -259,16 +259,12 @@ export class TestApp extends LitElement {
</div>
<div class="widget">
<h2>outline-contact-view</h2>
<button @tap=${() => this.select('#contactDialog').open()}>
<h2>outline-contact-us-dialog</h2>
<button @tap=${() => this.select('outline-contact-us-dialog').open()}>
Open Dialog
</button>
<paper-dialog id="contactDialog" modal="">
<outline-contact-view
.localize=${this.localize}
dir=${this.dir}
></outline-contact-view>
</paper-dialog>
<outline-contact-us-dialog .localize=${this.localize} dir=${this.dir}
></outline-contact-us-dialog>
</div>
<div class="widget">
Expand Down
2 changes: 1 addition & 1 deletion server_manager/web_app/ui_components/app-root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export class AppRoot extends polymerElementWithLocalize {
localize="[[localize]]"
on-success="showContactSuccessToast"
on-error="showContactErrorToast"
></outline-contact-view>
></outline-contact-us-dialog>
</template>
<template is="dom-if" if="{{!contactViewFeatureFlag}}">
<outline-feedback-dialog id="feedbackDialog" localize="[[localize]]"></outline-feedback-dialog>
Expand Down

0 comments on commit cad461d

Please sign in to comment.