Skip to content

Commit 50d32ed

Browse files
committed
-> BQ tooltip fix
1 parent 5324c02 commit 50d32ed

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Vagrantfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ Vagrant.configure(2) do |config|
66
# vb.gui = true
77

88
# Customize the amount of memory on the VM:
9-
vb.memory = "4096"
9+
vb.memory = 8192
10+
vb.cpus = 2
1011

1112
vb.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"]
1213
vb.customize ["modifyvm", :id, "--uartmode1", "file", File::NULL]
1314

1415
vb.customize ["modifyvm", :id, "--nestedpaging", "on"]
15-
vb.customize ["modifyvm", :id, "--cpus", 2]
16-
vb.customize ["modifyvm", :id, "--paravirtprovider", "kvm"]
16+
vb.customize ["modifyvm", :id, "--paravirtprovider", "default"]
1717
end
1818

19-
config.vm.box_url = "https://portal.cloud.hashicorp.com/vagrant/discover/debian/bullseye64"
19+
config.vm.box_version = "11.20241217.1"
2020
config.vm.box = "debian/bullseye64"
2121

2222
# WebApp ports
@@ -37,7 +37,7 @@ Vagrant.configure(2) do |config|
3737
config.vm.provision :shell, inline: "sudo apt-get install dos2unix", :run => 'always'
3838
config.vm.provision :shell, inline: "dos2unix /home/vagrant/www/shell/*.sh", :run => 'always'
3939
config.vm.provision :shell, inline: "echo 'source /home/vagrant/www/shell/env.sh' > /etc/profile.d/sa-environment.sh", :run => 'always'
40-
config.vm.provision "shell", path: 'shell/install-deps.sh', :run => 'always'
40+
config.vm.provision "shell", path: 'shell/install-deps.sh'
4141
# TODO: Adjust create and setup to check for database and run if it's not found so they can be set to always
4242
config.vm.provision "shell", path: 'shell/create-database.sh'
4343
config.vm.provision "shell", path: 'shell/database-setup.sh'

static/js/cohorts/export-manifest.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,12 +442,12 @@ require([
442442
});
443443

444444
let bq_disabled_message = 'Exporting to BigQuery requires you to be logged in with a linked Google Social Account, and to save your filters as a cohort.';
445-
if((!user_is_social) && (typeof(user_id)!=="undefined")){
445+
if(!user_is_auth) {
446+
bq_disabled_message += ' Please log in with a Google Social account to enable this feature.'
447+
} else if((user_is_social) && (typeof(user_id)!=="undefined")){
446448
bq_disabled_message += ' You can link your account to a Google ID from the '
447449
+ '<a target="_blank" rel="noopener noreferrer" href="/users/' + user_id + '/">'
448450
+ 'Account Details</a> page.'
449-
} else if(!user_is_auth) {
450-
bq_disabled_message += ' Please log in with a Google Social account to enable this feature.'
451451
} else if ((typeof(is_cohort)!=="undefined") && (!is_cohort)) {
452452
bq_disabled_message += ' Please save these filters as a cohort to enable this feature.'
453453
}

0 commit comments

Comments
 (0)