Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
actual-vt-capstone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danieljk
actual-vt-capstone
Commits
4b696156
Unverified
Commit
4b696156
authored
2 years ago
by
Matiss Janis Aboltins
Browse files
Options
Downloads
Patches
Plain Diff
fix: move to REACT_APP_NETLIFY var
parent
8167d542
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/loot-design/src/components/manager/BudgetList.js
+1
-1
1 addition, 1 deletion
packages/loot-design/src/components/manager/BudgetList.js
packages/loot-design/src/util/preview.js
+5
-2
5 additions, 2 deletions
packages/loot-design/src/util/preview.js
with
6 additions
and
3 deletions
packages/loot-design/src/components/manager/BudgetList.js
+
1
−
1
View file @
4b696156
...
...
@@ -5,12 +5,12 @@ import Key from 'loot-design/src/svg/v2/Key';
import
RefreshArrow
from
'
loot-design/src/svg/v2/RefreshArrow
'
;
import
{
styles
,
colors
}
from
'
../../style
'
;
import
{
isPreviewDeployment
}
from
'
../../util/preview
'
;
import
CloudCheck
from
'
../../svg/v1/CloudCheck
'
;
import
CloudDownload
from
'
../../svg/v1/CloudDownload
'
;
import
DotsHorizontalTriple
from
'
../../svg/v1/DotsHorizontalTriple
'
;
import
FileDouble
from
'
../../svg/v1/FileDouble
'
;
import
CloudUnknown
from
'
../../svg/v2/CloudUnknown
'
;
import
{
isPreviewDeployment
}
from
'
../../util/preview
'
;
import
{
View
,
Text
,
Modal
,
Button
,
Tooltip
,
Menu
}
from
'
../common
'
;
function
getFileDescription
(
file
)
{
...
...
This diff is collapsed.
Click to expand it.
packages/loot-design/src/util/preview.js
+
5
−
2
View file @
4b696156
export
function
isPreviewDeployment
()
{
console
.
log
(
process
.
env
.
NETLIFY
,
process
.
env
.
NETLIFY
===
true
);
return
process
.
env
.
NETLIFY
===
true
;
console
.
log
(
process
.
env
.
REACT_APP_NETLIFY
,
process
.
env
.
REACT_APP_NETLIFY
===
true
);
return
process
.
env
.
REACT_APP_NETLIFY
===
true
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment