Skip to content

Commit

Permalink
Fixing eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Sep 9, 2020
1 parent c04d0f7 commit db9adc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface AttributeServiceOptions<A extends { title: string }> {
type: string,
attributes: A,
savedObjectId?: string
) => Promise<{ id?: string } | { error: Error}>;
) => Promise<{ id?: string } | { error: Error }>;
customUnwrapMethod?: (savedObject: SimpleSavedObject<A>) => A;
}

Expand Down Expand Up @@ -178,7 +178,7 @@ export class AttributeService<

getInputAsRefType = async (
input: ValType | RefType,
saveOptions?: { showSaveModal: boolean; saveModalTitle?: string } | { title: string },
saveOptions?: { showSaveModal: boolean; saveModalTitle?: string } | { title: string }
): Promise<RefType> => {
if (this.inputIsRefType(input)) {
return input;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ export class VisualizeEmbeddable
};
const saveModalTitle = this.getTitle()
? this.getTitle()
: i18n.translate('visualize.embeddable.placeholderTitle', {
: i18n.translate('visualizations.embeddable.placeholderTitle', {
defaultMessage: 'Placeholder Title',
});
// @ts-ignore
Expand Down

0 comments on commit db9adc0

Please sign in to comment.