open-vault/ui/app/helpers/decode-uri.js

13 lines
251 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { helper as buildHelper } from '@ember/component/helper';
export function decodeUri(string) {
return decodeURI(string);
}
export default buildHelper(decodeUri);