Skip to content

Commit

Permalink
Merge pull request #360 from clayzenx/image-files-plugin-download
Browse files Browse the repository at this point in the history
isPlugin check
  • Loading branch information
rpiontik authored Aug 17, 2023
2 parents f72df74 + 5659066 commit 871a13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/helpers/download.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import env, {Plugins} from '@front/helpers/env';
import env from '@front/helpers/env';

export default {
download(encodeURIContent, filename) {
if (env.isPlugin(Plugins.idea)) {
if (env.isPlugin()) {
window.$PAPI.download(
encodeURIContent,
'Сохранение файла',
Expand Down

0 comments on commit 871a13f

Please sign in to comment.